PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD
2012-03-17 14:53:40 -04:00

26 lines
607 B
Bash

plugrel=1
noautobuild=1
pkgname=raspberrypi-firmware
pkgver=20120317
pkgrel=1
pkgdesc="Firmware files for Raspberry Pi"
arch=('any')
url="https://github.com/raspberrypi/firmware"
license=('custom')
provides=('raspberrypi-firmware')
conflicts=()
backup=(boot/{cmdline,config}.txt)
replaces=()
options=(!strip)
source=(config.txt)
md5sums=('0745afd44de4fe969b4ecb8d47d6a1c0')
package() {
git clone git://github.com/raspberrypi/firmware.git
rm "${srcdir}"/firmware/boot/kernel.img
cat "${srcdir}"/config.txt > "${srcdir}"/firmware/boot/config.txt
cp -R "${srcdir}"/firmware/{boot,opt} "${pkgdir}"
}