PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
graysky 6cb28c1b35 alarm/raspberrypi-bootloader to 20230929-1
Upstream added support for Pi 5
2023-09-29 13:59:57 -04:00

22 lines
801 B
Bash

# Maintainer: graysky <therealgraysky AT protonmail DOT com>
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=raspberrypi-bootloader
pkgver=20230929
pkgrel=1
_commit=7e9c2063fc15274fbc4dab1ca614f9228834d881
arch=('any')
url="https://github.com/raspberrypi/firmware"
license=('custom')
options=(!strip)
source=("bootloader-$pkgver-${_commit:0:10}.tar.gz::https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz")
md5sums=('b4efde404eae8905cc1cf4b5b11e802c')
package() {
pkgdesc="Bootloader files for Raspberry Pi"
replaces=('raspberrypi-firmware-bootloader' 'raspberrypi-bootloader-x' 'raspberrypi-firmware-bootloader-x')
conflicts=('raspberrypi-bootloader-x')
mkdir -p "${pkgdir}"/boot
cp "${srcdir}"/firmware-${_commit}/boot/{*.dat,*.bin,*.elf} "${pkgdir}"/boot
}