# Reference: pkgname=device-samsung-on7 pkgdesc="Samsung Galaxy On7 (2015)" pkgver=1 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 modules-initfs" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " _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-on7-wcnss-nv" mkdir "$subpkgdir" } sha512sums=" 59985b1a8f4184c017080e373e3cd4e5d01370741e569434159a39c034777f73ab0ea30d20fbd1fcd2be8977461c2b542b34a539f36f9c367f0e33e91da64d10 deviceinfo 2ec94ab06240419953494aede92263232e07745b8406923d39849c1a4b32bd135f4411243755e5f892d201e39dca10e8aa7b175b6c63361be094f6ba086a518f modules-initfs "