From 57d2dbe88be5e4b853d9afcb330b06e98a86f020 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 19:27:24 +0300 Subject: [PATCH] device/device-lg-mako: fix APKBUILD (!874) --- device/device-lg-mako/APKBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/device/device-lg-mako/APKBUILD b/device/device-lg-mako/APKBUILD index 10085bec4..9d234af5c 100644 --- a/device/device-lg-mako/APKBUILD +++ b/device/device-lg-mako/APKBUILD @@ -1,20 +1,24 @@ +# Reference: +# Contributor: Oliver Smith pkgname=device-lg-mako pkgver=2 -pkgrel=23 +pkgrel=24 pkgdesc="Google Nexus 4" url="https://postmarketos.org" arch="armhf" license="MIT" depends="postmarketos-base linux-lg-mako mkbootimg mesa-dri-swrast" -makedepends="" -install="" +makedepends="devicepkg-dev" subpackages="$pkgname-weston" source="deviceinfo 90-android-touch-dev.rules profile.sh pointercal fb.modes weston.ini wcnss-wlan" options="!check !archcheck" +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 install -Dm644 "$srcdir"/profile.sh \