mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
29 lines
907 B
Bash
29 lines
907 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=20
|
|
|
|
pkgname=raspberrypi-firmware
|
|
pkgver=20180730
|
|
pkgrel=1
|
|
_commit=83146e2ec7fec863fdd6dcaa1b5129c43a5b3699
|
|
pkgdesc="Firmware tools, libraries, and headers for Raspberry Pi"
|
|
arch=('any')
|
|
url="https://github.com/raspberrypi/firmware"
|
|
license=('custom')
|
|
replaces=('raspberrypi-firmware-tools')
|
|
provides=('raspberrypi-firmware-tools')
|
|
options=(!strip)
|
|
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
|
|
'00-raspberrypi-firmware.conf')
|
|
md5sums=('3ca5f674a644f7c9ceaa399e9f44778b'
|
|
'72e0d5818fc513ece1b964f25f7e7882')
|
|
|
|
package() {
|
|
mkdir -p "${pkgdir}"/opt/vc
|
|
|
|
cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
|
|
|
|
# Create lib links
|
|
mkdir -p "${pkgdir}"/etc/ld.so.conf.d/
|
|
cp "${srcdir}/00-raspberrypi-firmware.conf" "${pkgdir}"/etc/ld.so.conf.d/
|
|
}
|