From 897a06807b2638a35a2138a0413e3f4cac662ef9 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 19:55:58 +0300 Subject: [PATCH] device/device-sony-honami: fix APKBUILD (!874) --- device/device-sony-honami/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/device/device-sony-honami/APKBUILD b/device/device-sony-honami/APKBUILD index 31cbff410..ff3bf271e 100644 --- a/device/device-sony-honami/APKBUILD +++ b/device/device-sony-honami/APKBUILD @@ -1,18 +1,24 @@ +# Reference: +# Contributor: Rares pkgname="device-sony-honami" pkgdesc="Sony Xperia Z1" pkgver=1.1 -pkgrel=1 +pkgrel=2 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast" +makedepends="devicepkg-dev" source="deviceinfo 90-android-touch-dev.rules" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" +build() { + devicepkg_build $startdir $pkgname +} + package() { - install -Dm644 "$srcdir"/deviceinfo \ - "$pkgdir"/etc/deviceinfo + devicepkg_package $startdir $pkgname install -Dm644 "$srcdir"/90-android-touch-dev.rules \ "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules }