# Reference: pkgname=device-samsung-gprimeltecan pkgdesc="Samsung Galaxy Grand Prime CAN (G530W)" pkgver=1.2 pkgrel=1 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 modules-initfs" 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-gprimeltecan-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" depends="device-samsung-gprimeltexx-phosh" mkdir "$subpkgdir" } sha512sums=" 5175f62fb66533dc4a89f92910065fb840f7508eaa41690f5b13a89c71d3306955d187499c85a048ab2a179290d41121f28fbbedf18f80c6128b36f97990eb08 deviceinfo 3dc43d3dd268851e134b782abf120210f3969ff92819f6b11ab3fefe7a3f45ea67cf7548e1f6195639e3a657493bc60eb58d9fc667416df18b4b3977757590ed modules-initfs "