PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD
2012-03-17 15:27:32 -04:00

26 lines
627 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"
makedepends=('git')
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}"
}