device/device-nokia-n9: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:36:18 +03:00 committed by Bart Ribbers
parent 3430d3e782
commit 038943efdd
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,13 +1,14 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Filip Matijević <filip.matijevic.pz@gmail.com>
pkgname=device-nokia-n9
pkgver=1
pkgrel=7
pkgrel=8
pkgdesc="Nokia N9"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
makedepends=""
install=""
makedepends="devicepkg-dev"
subpackages="$pkgname-weston:weston"
source="
deviceinfo
@ -16,11 +17,12 @@ source="
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -D -m644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
install -D -m644 "$srcdir"/initfs-hook.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
devicepkg_package $startdir $pkgname
}
weston() {