mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added alarm/raspberrypi-bootloader
This commit is contained in:
parent
b1de3dfef6
commit
336839e1a3
1 changed files with 34 additions and 0 deletions
34
alarm/raspberrypi-bootloader/PKGBUILD
Normal file
34
alarm/raspberrypi-bootloader/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=28
|
||||
|
||||
pkgbase=raspberrypi-bootloader
|
||||
pkgname=('raspberrypi-bootloader'
|
||||
'raspberrypi-bootloader-x')
|
||||
pkgver=20161211
|
||||
pkgrel=1
|
||||
_commit=6d45dcf869688163fa1c745cb059b14baf61b8fd
|
||||
arch=('any')
|
||||
url="https://github.com/raspberrypi/firmware"
|
||||
license=('custom')
|
||||
options=(!strip)
|
||||
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz")
|
||||
md5sums=('08f7c4f2ba454083c8f988d6c8f54b02')
|
||||
|
||||
package_raspberrypi-bootloader() {
|
||||
pkgdesc="Bootloader files for Raspberry Pi"
|
||||
replaces=('raspberrypi-firmware-bootloader')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp "${srcdir}"/firmware-${_commit}/boot/{*.dat,*.bin,*.elf} "${pkgdir}"/boot
|
||||
rm "${pkgdir}"/boot/{start_x.elf,fixup_x.dat}
|
||||
}
|
||||
|
||||
package_raspberrypi-bootloader-x() {
|
||||
pkgdesc="Bootloader with extra codecs for Raspberry Pi"
|
||||
depends=('raspberrypi-bootloader')
|
||||
replaces=('raspberrypi-firmware-bootloader-x')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp "${srcdir}"/firmware-${_commit}/boot/{start_x.elf,fixup_x.dat} "${pkgdir}"/boot
|
||||
}
|
Loading…
Reference in a new issue