# Reference: pkgname=device-samsung-gprimeltexx pkgdesc="Samsung Galaxy Grand Prime (G530FZ)" 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 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=" 8e09937deaef0121b45541a430c2c37a46297cbaf32a532a9ad57d6524aaa1e1d67cd15eeec7b51f95c506b1bb9f676d8b10968f25541b11e69cda94c06d6da8 deviceinfo dbc8422fc00c757963dd016f26dd45d8c05c8c46b7e60cd11dd154550e166568cfdcee60678ee3542d27c2f8c373b71a1c3ec33da0260509fe4133ecd06a27bc phoc.ini "