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
|
2017-02-28 01:55:14 +00:00
|
|
|
pkgver=20170227
|
2017-01-15 00:32:45 +00:00
|
|
|
pkgrel=1
|
2017-02-28 01:55:14 +00:00
|
|
|
_commit=bf5201e9682bf36370bc31d26b37fd4d84e1cfca
|
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')
|
2017-02-28 01:55:14 +00:00
|
|
|
md5sums=('593a1bda45bc8266403c853d2b491b4a'
|
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
|
|
|
}
|