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

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

View File

@ -1,14 +1,14 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: zhenyolka <zhenyolka@gmail.com>
pkgname=device-lg-d285
pkgver=1
pkgrel=8
pkgrel=9
pkgdesc="LG L65"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-lg-d285 mkbootimg msm-fb-refresher mesa-dri-swrast"
makedepends=""
install=""
subpackages=""
makedepends="devicepkg-dev"
source="
deviceinfo
initfs-hook.sh
@ -16,13 +16,14 @@ source="
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -D -m644 "$srcdir/deviceinfo" \
"$pkgdir/etc/deviceinfo"
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"/initfs-hook.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
}
sha512sums="2304e89f13fa9c88f85dd391914a4a0fe06a32dec1baf8861c36de1cc39ee726b9fa646cb066a6d6e5532c8d6e198a03911e2651873c948d8fa7a2953b0060e1 deviceinfo