2016-12-11 21:20:56 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=28
|
|
|
|
|
|
|
|
pkgbase=raspberrypi-bootloader
|
|
|
|
pkgname=('raspberrypi-bootloader'
|
|
|
|
'raspberrypi-bootloader-x')
|
2017-01-19 00:48:34 +00:00
|
|
|
pkgver=20170118
|
2016-12-11 21:20:56 +00:00
|
|
|
pkgrel=1
|
2017-01-19 00:48:34 +00:00
|
|
|
_commit=7f8ac8dac0b80291cbf5e56580139034a0a42070
|
2016-12-11 21:20:56 +00:00
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/raspberrypi/firmware"
|
|
|
|
license=('custom')
|
|
|
|
options=(!strip)
|
|
|
|
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz")
|
2017-01-19 00:48:34 +00:00
|
|
|
md5sums=('c66a1830015e94db4a3c1a971db95e15')
|
2016-12-11 21:20:56 +00:00
|
|
|
|
|
|
|
package_raspberrypi-bootloader() {
|
|
|
|
pkgdesc="Bootloader files for Raspberry Pi"
|
|
|
|
replaces=('raspberrypi-firmware-bootloader')
|
|
|
|
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp "${srcdir}"/firmware-${_commit}/boot/{*.dat,*.bin,*.elf} "${pkgdir}"/boot
|
|
|
|
rm "${pkgdir}"/boot/{start_x.elf,fixup_x.dat}
|
|
|
|
}
|
|
|
|
|
|
|
|
package_raspberrypi-bootloader-x() {
|
|
|
|
pkgdesc="Bootloader with extra codecs for Raspberry Pi"
|
|
|
|
depends=('raspberrypi-bootloader')
|
|
|
|
replaces=('raspberrypi-firmware-bootloader-x')
|
|
|
|
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp "${srcdir}"/firmware-${_commit}/boot/{start_x.elf,fixup_x.dat} "${pkgdir}"/boot
|
|
|
|
}
|