device/device-htc-vision: fix APKBUILD (!874)

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

View file

@ -1,23 +1,26 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Matthias Berndt <matthias_berndt@gmx.de>
pkgname=device-htc-vision pkgname=device-htc-vision
pkgver=0.1 pkgver=0.1
pkgrel=1 pkgrel=2
pkgdesc="HTC Desire Z" pkgdesc="HTC Desire Z"
url="https://github.com/postmarketOS" url="https://github.com/postmarketOS"
arch="armhf" arch="armhf"
license="MIT" license="MIT"
depends="linux-htc-vision mkbootimg postmarketos-base msm-fb-refresher" depends="linux-htc-vision mkbootimg postmarketos-base msm-fb-refresher"
makedepends="" makedepends="devicepkg-dev"
install=""
subpackages="$pkgname-nonfree-firmware:nonfree_firmware" subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo 90-android.rules source="deviceinfo
initfs-hook.sh" 90-android.rules
initfs-hook.sh"
options="!check !archcheck" options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() { package() {
install -D -m644 "$srcdir/deviceinfo" \ devicepkg_package $startdir $pkgname
"$pkgdir/etc/deviceinfo"
install -D -m644 "$srcdir"/initfs-hook.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
install -D -m644 "$srcdir"/90-android.rules \ install -D -m644 "$srcdir"/90-android.rules \
"$pkgdir"/etc/udev/rules.d/90-android.rules "$pkgdir"/etc/udev/rules.d/90-android.rules
} }