# Maintainer: David Heidelberg pkgname=device-asus-tilapia pkgdesc="Google Nexus 7 2012 (tilapia)" pkgver=4 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends="postmarketos-base linux-asus-grouper mkbootimg mesa-dri-gallium" makedepends="devicepkg-dev" subpackages="$pkgname-phosh $pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo rootston.ini" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -Dm644 "$srcdir"/rootston.ini \ "$subpkgdir"/etc/phosh/rootston.ini } nonfree_firmware() { pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware" depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline" mkdir "$subpkgdir" } sha512sums="d8d83cb84efdbca87ee7e6128ce45ff326bd3874965331fcb83393f7bcf08d68e966441a24b876f5fa764ea8db2924b0a090217befc0886ac5a4e8fa18f46fd5 deviceinfo 6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini"