mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
22 lines
801 B
Bash
22 lines
801 B
Bash
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
pkgname=raspberrypi-bootloader
|
|
pkgver=20220723
|
|
pkgrel=1
|
|
_commit=a75a129d59320b5828791ecc4c1b422fc110d3f1
|
|
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=('8da36b92411dbe34eafc7e1a893e4138')
|
|
|
|
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
|
|
}
|