# Reference: pkgname=device-samsung-fortunaltezt pkgdesc="Samsung Galaxy Grand Prime (SM-G530Y)" pkgver=1.2 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="armv7" 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-fortunaltezt-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -Dm644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" 086cddd57c4a0de9ff2b7381342509a4916dab726dcc43132f4213ee67eb6dd176b895641f8e454fe513b1f1fc71d53a73d1936a45e02df20930e0f024c83af7 deviceinfo 01f38d27caf6795f026c6df74513cb0fa857bf7260d1bcbd6b9e46a46554db98ae66dddcf4ace94839cb6ed8c526c42f74cc672c6800e53c4d70590a607e56b9 modules-initfs dbc8422fc00c757963dd016f26dd45d8c05c8c46b7e60cd11dd154550e166568cfdcee60678ee3542d27c2f8c373b71a1c3ec33da0260509fe4133ecd06a27bc phoc.ini "