# Reference: pkgname=device-t2m-flame pkgver=1 pkgrel=20 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="050f3c64d351b0b3c53de193ffffde0feb66fe06fe710706f11fbf7ad4123f4e3c3370c2ebb663551001b09b609b67e827d4bb6e5e328db13125e85ea3d188bf deviceinfo 25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules"