PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
2024-03-07 13:11:37 -05:00

23 lines
802 B
Bash

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