aboutsummaryrefslogtreecommitdiffstats
path: root/testing/raspberrypi-bootloader/APKBUILD
blob: 079e4014104e6131d099849a44ebc98a03d79802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Marian <mari.hahn@wwu.de>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi-bootloader
_commit=d760a4ffd378c648ff5d9854e26dc868a5e1fd09
pkgver=20161203
pkgrel=0
pkgdesc="Bootloader files for the Raspberry Pi"
url=https://github.com/raspberrypi/firmware
arch="armhf"
license="custom"
depends=""
makedepends=""
install=
source="$pkgname-$pkgver.tar.gz::https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
subpackages="$pkgname-x:bootloader_x"

builddir="${srcdir}/firmware-${_commit}"
package() {
	cd "$builddir"/boot
	mkdir -p "$pkgdir"/boot
	cp bootcode.bin fixup.dat start.elf "$pkgdir"/boot/
}

bootloader_x() {
	pkgdesc="Extra codecs for the Raspberry Pi"
	depends="$pkgname"
	cd "$builddir"/boot
	mkdir -p "$subpkgdir"/boot
	cp start_x.elf start_cd.elf start_db.elf fixup_x.dat fixup_cd.dat fixup_db.dat "$subpkgdir"/boot/
}


md5sums="ffa8fc62babc22fc1de724ff961b4d51  raspberrypi-bootloader-20161203.tar.gz"
sha256sums="cc5ec6abea86d504ef0a931f2fbd452c979af1a4695e6fedde5bbcf5caefc32a  raspberrypi-bootloader-20161203.tar.gz"
sha512sums="e6626a4260a276a95cbc38525c911edb58b6c3fe1c57ee34adfbb970245ff3f99a5c3635a328f4799a886668273b0ba2002454dad300a97799bd974f9ea5a26a  raspberrypi-bootloader-20161203.tar.gz"