PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD
2012-04-14 13:51:51 -04:00

24 lines
570 B
Bash

plugrel=1
noautobuild=1
pkgname=raspberrypi-firmware
pkgver=20120414
pkgrel=1
pkgdesc="Firmware files for Raspberry Pi"
arch=('any')
url="https://github.com/raspberrypi/firmware"
makedepends=('git')
license=('custom')
backup=(boot/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}"
}