2016-12-11 21:20:56 +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:20:56 +00:00
|
|
|
|
|
|
|
buildarch=28
|
|
|
|
|
|
|
|
pkgbase=raspberrypi-bootloader
|
|
|
|
pkgname=('raspberrypi-bootloader'
|
|
|
|
'raspberrypi-bootloader-x')
|
2020-11-23 21:22:21 +00:00
|
|
|
pkgver=20201123
|
2020-11-09 16:02:00 +00:00
|
|
|
pkgrel=1
|
2020-11-23 21:22:21 +00:00
|
|
|
_commit=8f13114b9ea29bd004151d4a8afa500b2df721be
|
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")
|
2020-11-23 21:22:21 +00:00
|
|
|
md5sums=('d3826a3a3bc3654ec7f7d24107740e8d')
|
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
|
2019-11-30 18:43:28 +00:00
|
|
|
rm "${pkgdir}"/boot/{start{_,4}x.elf,fixup{_,4}x.dat}
|
2016-12-11 21:20:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_raspberrypi-bootloader-x() {
|
|
|
|
pkgdesc="Bootloader with extra codecs for Raspberry Pi"
|
|
|
|
depends=('raspberrypi-bootloader')
|
|
|
|
replaces=('raspberrypi-firmware-bootloader-x')
|
|
|
|
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
2019-11-30 18:43:28 +00:00
|
|
|
cp "${srcdir}"/firmware-${_commit}/boot/{start{_,4}x.elf,fixup{_,4}x.dat} "${pkgdir}"/boot
|
2016-12-11 21:20:56 +00:00
|
|
|
}
|