pkgname=device-nokia-n9 pkgver=1 pkgrel=0 pkgdesc="Nokia N9" url="https://github.com/postmarketOS" arch="noarch" license="MIT" depends="linux-nokia-n9 linux-firmware ofono watchdog-kick" makedepends="" install="" subpackages="$pkgname-weston:weston" source=" deviceinfo initfs-hook.sh weston.ini $install " options="!check" package() { install -D -m644 "$srcdir"/deviceinfo \ "$pkgdir"/etc/deviceinfo install -D -m644 "$srcdir"/initfs-hook.sh \ "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh } weston() { install_if="$pkgname weston" install -Dm644 "$srcdir"/weston.ini \ "$subpkgdir"/etc/xdg/weston/weston.ini } sha512sums="3298afa3312a032836e271d4c6808d304436470545472beb4a4ac1a4b8f93ec25d5b895f5bebf351ffb6e910a155f97a4d96b1d74f1d8ab278c246cb3815bf79 deviceinfo 61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"