# Maintainer: Kevin Mihelich buildarch=20 pkgname=raspberrypi-firmware pkgver=20180131 pkgrel=1 _commit=58395c1ea3f9ae129885aa7ff7d8b92c7be267db pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi" arch=('any') url="https://github.com/raspberrypi/firmware" license=('custom') replaces=('raspberrypi-firmware-tools') provides=('raspberrypi-firmware-tools') options=(!strip) source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz" '00-raspberrypi-firmware.conf') md5sums=('a74799305c72b514f2881ae83eafb145' '72e0d5818fc513ece1b964f25f7e7882') package() { mkdir -p "${pkgdir}"/opt/vc cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc # Create lib links mkdir -p "${pkgdir}"/etc/ld.so.conf.d/ cp "${srcdir}/00-raspberrypi-firmware.conf" "${pkgdir}"/etc/ld.so.conf.d/ }