From 6faab8c72b504bf71fbd03a7581d6d4a352dd9a1 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 10 Jan 2020 19:56:19 +0300 Subject: [PATCH] device/device-t2m-flame: fix APKBUILD (!874) --- device/device-t2m-flame/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/device/device-t2m-flame/APKBUILD b/device/device-t2m-flame/APKBUILD index 6bf8eabe4..b130729b5 100644 --- a/device/device-t2m-flame/APKBUILD +++ b/device/device-t2m-flame/APKBUILD @@ -1,20 +1,25 @@ +# Reference: +# Contributor: Yuval Adam <_@yuv.al> pkgname=device-t2m-flame pkgver=1 -pkgrel=14 +pkgrel=15 pkgdesc="Mozilla Flame" url="https://postmarketos.org" arch="armhf" license="MIT" depends="postmarketos-base linux-t2m-flame mkbootimg mesa-dri-swrast" -makedepends="" +makedepends="devicepkg-dev" install="$pkgname.post-install" source="deviceinfo 90-android-touch-dev.rules" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" 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 }