pmaports/device/device-nokia-n9/APKBUILD
Filip Matijević ed03333008 Fix Nokia N9 build and update kernel (#1281)
* Remove unneeded dtb entry from deviceinfo
* Update Nokia N9 to kernel v4.16-rc3
2018-03-03 11:01:35 +00:00

41 lines
1.2 KiB
Text

pkgname=device-nokia-n9
pkgver=1
pkgrel=3
pkgdesc="Nokia N9"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-nokia-n9 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
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="linux-firmware"
mkdir "$subpkgdir"
}
sha512sums="4d68746c16e0375a9853a94bddf63541d64e290e4e624ae3790fed70bb9c86a02e492bfd3a32179ae5163d371963d763718ac9d3a57140b8e135d322ae9b09ee deviceinfo
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"