pkgname="device-sony-honami" pkgdesc="Sony Xperia Z1" pkgver=1.0 pkgrel=5 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast" source="deviceinfo 90-android-touch-dev.rules" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" package() { install -Dm644 "$srcdir"/deviceinfo \ "$pkgdir"/etc/deviceinfo install -Dm644 "$srcdir"/90-android-touch-dev.rules \ "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules } nonfree_firmware() { depends="firmware-sony-amami" pkgdesc="Wifi firmware" mkdir "$subpkgdir" } sha512sums="ab6f4e1cf3bc2cac803e17e69aded76215fbacd5b337d5b43a3a4509108cc73445e76b307566210154009d373f1540b3e3ff2385df16f8503780712157a42106 deviceinfo 1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40 90-android-touch-dev.rules"