# Maintainer: Kevin Mihelich buildarch=20 pkgname=raspberrypi-firmware pkgver=20180718 pkgrel=1 _commit=bffe7ee6b276f23822883f3d7fd7b705d12c26b9 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=('7b4133984a64db0b48eca4cf7f53f150' '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/ }