device/device-motorola-osprey: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:31:33 +03:00 committed by Bart Ribbers
parent ec580123be
commit 26bfb17181
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: Attila Szöllősi <ata@openmailbox.org>
pkgname=device-motorola-osprey
pkgver=1
pkgrel=9
pkgrel=10
pkgdesc="Motorola Moto G 3rd gen. (2015)"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-motorola-osprey mkbootimg mesa-dri-swrast"
makedepends=""
install=""
subpackages=""
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh 90-android-touch-dev.rules fb-workaround.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-workaround.sh \