2017-06-08 17:27:02 +00:00
|
|
|
pkgname=device-nokia-rx51
|
|
|
|
pkgver=1
|
2017-07-08 06:46:27 +00:00
|
|
|
pkgrel=5
|
2017-06-08 17:27:02 +00:00
|
|
|
pkgdesc="Nokia N900"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2017-06-09 23:38:46 +00:00
|
|
|
depends="linux-nokia-rx51 uboot-tools"
|
|
|
|
makedepends="uboot-tools"
|
2017-06-08 17:27:02 +00:00
|
|
|
install=""
|
|
|
|
subpackages=""
|
2017-06-10 16:43:33 +00:00
|
|
|
source="deviceinfo uboot-script.cmd backlight-enable.sh"
|
2017-06-08 17:27:02 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
2017-06-09 23:38:46 +00:00
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
2017-06-08 17:27:02 +00:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
2017-06-10 09:43:24 +00:00
|
|
|
install -D -m644 "$srcdir"/boot.scr \
|
|
|
|
"$pkgdir"/boot/boot.scr
|
2017-06-10 16:43:33 +00:00
|
|
|
install -D -m644 "$srcdir"/backlight-enable.sh \
|
|
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}-backlight.sh
|
2017-06-08 17:27:02 +00:00
|
|
|
}
|
|
|
|
|
2017-07-08 06:46:27 +00:00
|
|
|
sha512sums="7eb602ae1f6002a928f2a5cf12edf21ffe76e6e378907f73da6b6df98016bf5f3e256f93a4187a354069631f283a2f0769b5acf05445e42d8f630966b36dfa6b deviceinfo
|
2017-06-10 16:43:33 +00:00
|
|
|
011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd
|
|
|
|
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh"
|