2021-06-16 21:44:59 +00:00
|
|
|
pkgname=raspberrypi-firmware
|
2021-09-11 08:24:20 +00:00
|
|
|
pkgver=20210805
|
2021-06-16 21:44:59 +00:00
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl -L "https://github.com/raspberrypi/firmware/archive/refs/tags/1.$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
mv firmware-1.$pkgver $pkgname-$pkgver
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
install -d $pkgdir/boot
|
|
|
|
cp ./boot/*.bin $pkgdir/boot
|
|
|
|
cp ./boot/*.dat $pkgdir/boot
|
|
|
|
cp ./boot/*.elf $pkgdir/boot
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
# cat COPYING
|
|
|
|
}
|