device/device-lg-lenok: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 13:32:52 +03:00 committed by Bart Ribbers
parent d2864d56fc
commit 9048185112
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,22 +1,23 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: James Heald <jamesheald@linux.com>
pkgname=device-lg-lenok
pkgver=1
pkgrel=11
pkgrel=12
pkgdesc="LG G Watch R"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-lg-lenok mkbootimg mesa-dri-swrast"
makedepends=""
install=""
subpackages=""
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh 90-android-touch-dev.rules fb_fix.sh"
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
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -D -m644 "$srcdir"/fb_fix.sh \