From 2d59f51a14a8b1ba80e700c3aa32ad419bde6d64 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 13:32:51 +0300 Subject: [PATCH] device/device-lenovo-karate: fix APKBUILD (!874) --- device/device-lenovo-karate/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/device/device-lenovo-karate/APKBUILD b/device/device-lenovo-karate/APKBUILD index afac3a439..bc9311ba7 100644 --- a/device/device-lenovo-karate/APKBUILD +++ b/device/device-lenovo-karate/APKBUILD @@ -1,18 +1,24 @@ +# Reference: +# Contributor: shwsh pkgname="device-lenovo-karate" pkgdesc="Lenovo K6 Power" pkgver=0.1 -pkgrel=8 +pkgrel=9 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-lenovo-karate mkbootimg mdss-fb-init-hack 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 -Dm755 "$srcdir"/90-android-touch-dev.rules \ "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules }