# Maintainer: Kevin Mihelich buildarch=20 pkgname=raspberrypi-firmware pkgver=20190611 pkgrel=1 _commit=70751fb5bb4722907c2b25b35a5802a1e40c8c95 pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi" arch=('armv6h' 'armv7h') 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=('076df92bf3536e6c88aed828044fda18' '72e0d5818fc513ece1b964f25f7e7882') package() { mkdir -p "${pkgdir}"/opt/vc cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,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/ }