# Reference: pkgname=device-samsung-fortuna3g pkgdesc="Samsung Galaxy Grand Prime 3G (G530H)" pkgver=1.2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916 soc-qcom-msm8916-rproc" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh " _pmb_select="soc-qcom-msm8916-rproc" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="GPU/WiFi/BT/Modem/Video firmware" depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-fortuna3g-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" depends="device-samsung-gprimeltexx-phosh" mkdir "$subpkgdir" } sha512sums=" 3ddafbbe3fc4eb69a0a30494c91adda44041b96e59cb2545d642bfbe9315b80e8a6d3866044671701ecbc9d5bb0b6109bb275cd9cbd6b1257607deb02f32fc52 deviceinfo "