PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
2024-09-14 08:07:42 -04:00

23 lines
802 B
Bash

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