2016-12-11 21:19:53 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2020-10-16 17:28:09 +00:00
|
|
|
# Maintainer: graysky <graysky@archlinux.us>
|
2016-12-11 21:19:53 +00:00
|
|
|
|
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-10-29 14:26:49 +00:00
|
|
|
pkgver=20201029
|
2017-01-15 00:32:45 +00:00
|
|
|
pkgrel=1
|
2020-10-29 14:26:49 +00:00
|
|
|
_commit=dbd3b6fcd9fbb28366118d726585ff833518e263
|
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-10-29 14:26:49 +00:00
|
|
|
md5sums=('a5548c8677886ca5826b2cd7ef628d50'
|
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
|
|
|
}
|