2016-12-11 21:19:53 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
2015-02-05 18:23:06 +00:00
|
|
|
buildarch=20
|
2015-02-04 00:54:33 +00:00
|
|
|
|
2016-12-11 21:19:53 +00:00
|
|
|
pkgname=raspberrypi-firmware
|
2019-12-11 20:09:17 +00:00
|
|
|
pkgver=20191211
|
2017-01-15 00:32:45 +00:00
|
|
|
pkgrel=1
|
2019-12-11 20:09:17 +00:00
|
|
|
_commit=0c01dbefba45a08c47f8538d5a071a0fba6b7e83
|
2016-12-11 21:19:53 +00:00
|
|
|
pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi"
|
2019-03-09 00:14:59 +00:00
|
|
|
arch=('armv6h' 'armv7h')
|
2012-03-17 18:53:40 +00:00
|
|
|
url="https://github.com/raspberrypi/firmware"
|
|
|
|
license=('custom')
|
2016-12-11 21:19:53 +00:00
|
|
|
replaces=('raspberrypi-firmware-tools')
|
2016-12-11 23:20:31 +00:00
|
|
|
provides=('raspberrypi-firmware-tools')
|
2012-03-17 18:53:40 +00:00
|
|
|
options=(!strip)
|
2016-07-04 16:42:51 +00:00
|
|
|
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
|
|
|
|
'00-raspberrypi-firmware.conf')
|
2019-12-11 20:09:17 +00:00
|
|
|
md5sums=('0d436db475f6a0b7d019156ecc2fe09f'
|
2016-07-06 00:43:21 +00:00
|
|
|
'72e0d5818fc513ece1b964f25f7e7882')
|
2012-05-18 22:58:41 +00:00
|
|
|
|
2016-12-11 21:19:53 +00:00
|
|
|
package() {
|
2012-07-28 22:39:26 +00:00
|
|
|
mkdir -p "${pkgdir}"/opt/vc
|
2012-08-07 16:03:08 +00:00
|
|
|
|
2019-01-23 02:31:00 +00:00
|
|
|
cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,LICENCE} "${pkgdir}"/opt/vc
|
2013-01-08 00:01:52 +00:00
|
|
|
|
|
|
|
# Create lib links
|
|
|
|
mkdir -p "${pkgdir}"/etc/ld.so.conf.d/
|
2016-07-04 16:42:51 +00:00
|
|
|
cp "${srcdir}/00-raspberrypi-firmware.conf" "${pkgdir}"/etc/ld.so.conf.d/
|
2012-03-17 18:53:40 +00:00
|
|
|
}
|