2022-05-06 17:07:38 +00:00
|
|
|
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
|
2022-02-07 21:05:58 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2016-12-11 21:20:56 +00:00
|
|
|
|
2022-02-07 21:05:58 +00:00
|
|
|
pkgname=raspberrypi-bootloader
|
2024-02-13 22:45:38 +00:00
|
|
|
pkgver=20240213
|
2024-01-03 23:42:02 +00:00
|
|
|
pkgrel=1
|
2024-02-13 22:45:38 +00:00
|
|
|
_commit=a43df3a002f60c4c2243a416d045eb5937585e8b
|
2016-12-11 21:20:56 +00:00
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/raspberrypi/firmware"
|
|
|
|
license=('custom')
|
|
|
|
options=(!strip)
|
2024-02-13 22:45:38 +00:00
|
|
|
source=("bootloader-$pkgver-${_commit:0:10}.tar.gz::https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
|
|
|
|
fixup4.dat start4.elf)
|
|
|
|
|
|
|
|
md5sums=('a7e656f7e090587daa6b46f3fc0d7d40'
|
|
|
|
'39bb311fd1db7c639aaffddf37f630de'
|
|
|
|
'f1cf42f2ee9d3b6d9bbb2f8c41608ed7')
|
2016-12-11 21:20:56 +00:00
|
|
|
|
2022-02-07 21:05:58 +00:00
|
|
|
package() {
|
2016-12-11 21:20:56 +00:00
|
|
|
pkgdesc="Bootloader files for Raspberry Pi"
|
2022-02-07 21:05:58 +00:00
|
|
|
replaces=('raspberrypi-firmware-bootloader' 'raspberrypi-bootloader-x' 'raspberrypi-firmware-bootloader-x')
|
|
|
|
conflicts=('raspberrypi-bootloader-x')
|
2016-12-11 21:20:56 +00:00
|
|
|
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp "${srcdir}"/firmware-${_commit}/boot/{*.dat,*.bin,*.elf} "${pkgdir}"/boot
|
2024-02-13 22:45:38 +00:00
|
|
|
|
|
|
|
# https://github.com/raspberrypi/firmware/issues/1868
|
|
|
|
rm "${pkgdir}"/boot/start4.elf "${pkgdir}"/boot/fixup4.dat
|
|
|
|
cp fixup4.dat start4.elf "${pkgdir}"/boot
|
2016-12-11 21:20:56 +00:00
|
|
|
}
|