34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
pkgname=device-nokia-rx51
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc="Nokia N900"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-nokia-rx51 uboot-tools"
|
|
makedepends="uboot-tools"
|
|
install=""
|
|
subpackages=""
|
|
source="deviceinfo initfs-hook.sh profile.sh uboot-script.cmd"
|
|
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"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
install -D -m644 "$srcdir"/profile.sh \
|
|
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
|
#install -D -m644 "$srcdir"/boot.scr \
|
|
# "$pkgdir"/boot/boot.scr
|
|
}
|
|
|
|
sha512sums="52ae4fc3317774fc6e668188857e9eb2c80a4612fc92b895b2bf78d2d377a6f6fe387be5f003cf98ac14c31aaf4a2677713b01f3cddac03cf34ce5c2b83e0b72 deviceinfo
|
|
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
|
c3d0182161c33047e0af4fd7cc557037e10380896a771446f055a13813e50e4e6c9d5992de7b275a8373a053cca02cb96bcb50c732709a2e9909f903b5fba249 profile.sh
|
|
011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd"
|