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
|
2018-12-05 01:18:53 +00:00
|
|
|
pkgver=20181204
|
2017-01-15 00:32:45 +00:00
|
|
|
pkgrel=1
|
2018-12-05 01:18:53 +00:00
|
|
|
_commit=afd824ac32ab1f3bf8b462178770253f8757bf1f
|
2016-12-11 21:19:53 +00:00
|
|
|
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')
|
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')
|
2018-12-05 01:18:53 +00:00
|
|
|
md5sums=('16de3f0040a4d8684c819617248526e8'
|
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
|
|
|
|
2015-02-04 00:54:33 +00:00
|
|
|
cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,sbin,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
|
|
|
}
|