device/device-htc-vision: fix APKBUILD (!874)
This commit is contained in:
parent
70a8b1363b
commit
13e3c7d856
1 changed files with 12 additions and 9 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue