From 3430d3e78273c42a5e88bab2169f955bf1fefabc Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 19:35:50 +0300 Subject: [PATCH] device/device-motorola-titan: fix APKBUILD (!874) --- device/device-motorola-titan/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/device/device-motorola-titan/APKBUILD b/device/device-motorola-titan/APKBUILD index 685196c42..6df3c03c6 100644 --- a/device/device-motorola-titan/APKBUILD +++ b/device/device-motorola-titan/APKBUILD @@ -1,20 +1,25 @@ +# Reference: +# Contributor: Pablo Castellano pkgname=device-motorola-titan pkgver=1 -pkgrel=30 +pkgrel=31 pkgdesc="Motorola Moto G 2014" url="https://postmarketos.org" arch="armhf" license="MIT" depends="postmarketos-base linux-motorola-titan mkbootimg msm-fb-refresher mesa-dri-swrast" -makedepends="" +makedepends="devicepkg-dev" install="$pkgname.post-install" subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo 90-android-touch-dev.rules profile.sh weston.ini" 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 \