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
|
2020-01-07 01:41:39 +00:00
|
|
|
pkgver=20200106
|
2017-01-15 00:32:45 +00:00
|
|
|
pkgrel=1
|
2020-01-07 01:41:39 +00:00
|
|
|
_commit=dc5622560a2589a417007156b75db71f52b60d80
|
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')
|
2020-01-07 01:41:39 +00:00
|
|
|
md5sums=('2c55d9a0d9b059cd960c48399c521825'
|
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
|
|
|
}
|