PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD

30 lines
914 B
Bash
Raw Normal View History

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=20
pkgname=raspberrypi-firmware
pkgver=20191211
pkgrel=1
_commit=0c01dbefba45a08c47f8538d5a071a0fba6b7e83
pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi"
arch=('armv6h' 'armv7h')
2012-03-17 18:53:40 +00:00
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=('0d436db475f6a0b7d019156ecc2fe09f'
'72e0d5818fc513ece1b964f25f7e7882')
package() {
mkdir -p "${pkgdir}"/opt/vc
2019-01-23 02:31:00 +00:00
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/
2012-03-17 18:53:40 +00:00
}