# Reference: pkgname=device-samsung-gprimeltexx pkgdesc="Samsung Galaxy Grand Prime (G530FZ)" 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 phoc.ini " 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-gprimeltexx-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -Dm644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" 007e3b804cf6c15aefc4173312048e1c0ec80b61bb5bceba4e1413525f66e61d1a173e188439d4d9ce5e71a5fb82724af0b0174d59664ac0b3f9bb6043951dfd deviceinfo 3dc43d3dd268851e134b782abf120210f3969ff92819f6b11ab3fefe7a3f45ea67cf7548e1f6195639e3a657493bc60eb58d9fc667416df18b4b3977757590ed modules-initfs dbc8422fc00c757963dd016f26dd45d8c05c8c46b7e60cd11dd154550e166568cfdcee60678ee3542d27c2f8c373b71a1c3ec33da0260509fe4133ecd06a27bc phoc.ini "