PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
2024-02-08 13:05:01 -05:00

22 lines
801 B
Bash

# Maintainer: graysky <therealgraysky AT protonmail DOT com>
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=raspberrypi-bootloader
pkgver=20240208
pkgrel=1
_commit=2a1e5bfd933d977a57ba4cd62f3381fdc339e29a
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=('b581ca91fe5bb284aedd7b2fc6f628fe')
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
}