PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD

30 lines
907 B
Bash
Raw Normal View History

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=20
pkgname=raspberrypi-firmware
pkgver=20170227
pkgrel=1
_commit=bf5201e9682bf36370bc31d26b37fd4d84e1cfca
pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi"
2012-03-17 18:53:40 +00:00
arch=('any')
url="https://github.com/raspberrypi/firmware"
license=('custom')
replaces=('raspberrypi-firmware-tools')
provides=('raspberrypi-firmware-tools')
2012-03-17 18:53:40 +00:00
options=(!strip)
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
'00-raspberrypi-firmware.conf')
md5sums=('593a1bda45bc8266403c853d2b491b4a'
'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/
2012-03-17 18:53:40 +00:00
}