PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
2022-04-13 13:39:52 -04:00

22 lines
785 B
Bash

# Maintainer: graysky <graysky@archlinux.us>
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=raspberrypi-bootloader
pkgver=20220413
pkgrel=1
_commit=4fe2e4af02058f88f991469349a335a25a2c719d
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=('1f81828f4d8b4b9c7b425cbf841e4933')
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
}