pmaports/device/device-t2m-flame/APKBUILD
2020-01-17 18:39:21 +01:00

34 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Yuval Adam <_@yuv.al>
pkgname=device-t2m-flame
pkgver=1
pkgrel=15
pkgdesc="Mozilla Flame"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-t2m-flame mkbootimg mesa-dri-swrast"
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() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-t2m-flame"
mkdir "$subpkgdir"
}
sha512sums="d0e9eb75836ad92e8d55217745eca4a804f3d2f75d5cdd0795a3c88383aa3eaab5987700f2520cfb6cffed70d866781dd4a3108e92cdaab6df6a8299ce46c469 deviceinfo
25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules"