PKGBUILDs/alarm/raspberrypi-firmware/PKGBUILD

27 lines
627 B
Bash
Raw Normal View History

2012-03-17 18:53:40 +00:00
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')
2012-03-17 18:53:40 +00:00
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}"
}