pmaports/device-nokia-rx51/APKBUILD
Martijn Braam 204e6cf6b8 Merge pull request #155 from craftyguy/master
[RX51] Account for uInitrd filename change in u-boot script
2017-07-16 16:59:29 +02:00

31 lines
1.1 KiB
Text

pkgname=device-nokia-rx51
pkgver=1
pkgrel=6
pkgdesc="Nokia N900"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-nokia-rx51 uboot-tools linux-firmware"
makedepends="uboot-tools"
install=""
subpackages=""
source="deviceinfo uboot-script.cmd backlight-enable.sh"
options="!check"
build() {
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
return 0
}
package() {
install -D -m644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
install -D -m644 "$srcdir"/boot.scr \
"$pkgdir"/boot/boot.scr
install -D -m644 "$srcdir"/backlight-enable.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}-backlight.sh
}
sha512sums="7eb602ae1f6002a928f2a5cf12edf21ffe76e6e378907f73da6b6df98016bf5f3e256f93a4187a354069631f283a2f0769b5acf05445e42d8f630966b36dfa6b deviceinfo
dbbab330a9a136ec22c52bf6376049d6598c01e784f9a8a1da144f56621a086c5e52a10afac5c067c9ca921354d76babeea81e0eac2d407a1aae448e7ddee3b4 uboot-script.cmd
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh"