device/device-sony-honami: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:55:58 +03:00 committed by Bart Ribbers
parent dcd83e579e
commit 897a06807b
No known key found for this signature in database
GPG Key ID: 699D16185DAFAE61

View File

@ -1,18 +1,24 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Rares
pkgname="device-sony-honami" pkgname="device-sony-honami"
pkgdesc="Sony Xperia Z1" pkgdesc="Sony Xperia Z1"
pkgver=1.1 pkgver=1.1
pkgrel=1 pkgrel=2
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armv7" arch="armv7"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast" depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo 90-android-touch-dev.rules" source="deviceinfo 90-android-touch-dev.rules"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware" subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() { package() {
install -Dm644 "$srcdir"/deviceinfo \ devicepkg_package $startdir $pkgname
"$pkgdir"/etc/deviceinfo
install -Dm644 "$srcdir"/90-android-touch-dev.rules \ install -Dm644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
} }