# Reference: pkgname=device-fairphone-fp4 pkgdesc="Fairphone 4" pkgver=0.2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-sm6350 mesa-dri-gallium mkbootimg postmarketos-base " makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for Modem, WiFi, etc." depends=" firmware-fairphone-fp4-adreno firmware-fairphone-fp4-adsp firmware-fairphone-fp4-cdsp firmware-fairphone-fp4-ipa firmware-fairphone-fp4-modem firmware-fairphone-fp4-wlan linux-firmware-ath10k msm-modem msm-modem-uim-selection pd-mapper tqftpserv " install="$subpkgname.post-install" mkdir "$subpkgdir" } sha512sums=" f6cbf5a753757cd72df609ff9c45172f5d7f8266d9514275fe3d9f56218abb74ee94bc240c97aa728e2a82f4ccf65b1d6ec608eb0c84d5ba6274e631cf6a019a deviceinfo "