d3b439ae2d
* deviceinfo: remove external_disk_install and external_disk, use external_storage instead * Complain when external_disk* is used
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
pkgname=device-nokia-n9
|
|
pkgver=1
|
|
pkgrel=4
|
|
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="4ba72beb9b1ff162d7e3b69f3ea43e4166fa928e3ed1bff0f61e61cdb48647070cfedfdb767e4c9173939c5ec347826c5bef003705c59da00a510ce407730720 deviceinfo
|
|
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
|
|
df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"
|