From 7cd0cfce3af58c00e4699d5250b6070d40d03446 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 13:32:57 +0300 Subject: [PATCH] device/device-sony-yuga: fix APKBUILD (!874) --- device/device-sony-yuga/APKBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/device/device-sony-yuga/APKBUILD b/device/device-sony-yuga/APKBUILD index 628d711d0..315bba570 100644 --- a/device/device-sony-yuga/APKBUILD +++ b/device/device-sony-yuga/APKBUILD @@ -1,20 +1,23 @@ +# Reference: +# Contributor: Wouter Franken pkgname=device-sony-yuga pkgver=1 -pkgrel=14 +pkgrel=15 pkgdesc="Sony Xperia Z" url="https://postmarketos.org" arch="armhf" license="MIT" depends="postmarketos-base linux-sony-yuga mkbootimg msm-fb-refresher mesa-dri-swrast" -makedepends="" -install="" -subpackages="" +makedepends="devicepkg-dev" source="deviceinfo 90-android-touch-dev.rules" options="!check !archcheck" +build() { + devicepkg_build $startdir $pkgname +} + package() { - install -D -m644 "$srcdir/deviceinfo" \ - "$pkgdir/etc/deviceinfo" + devicepkg_package $startdir $pkgname install -D -m644 "$srcdir"/90-android-touch-dev.rules \ "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules