# Reference: pkgname=device-samsung-j5 pkgdesc="Samsung Galaxy J5 (2015)" pkgver=5.1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-msm8916 mkbootimg postmarketos-base soc-qcom-msm8916 soc-qcom-msm8916-rproc " makedepends="devicepkg-dev" source="deviceinfo" 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-j5-wcnss-nv" mkdir "$subpkgdir" } sha512sums=" 5ca2710dc8f95e149c7b38dbef3b7639017af6c62bcefd58e32b34ed7c7d5d04627bb7a7d30dcc5a092bfd9933620dcc8b63d12b70cee3d4246db6861eebe582 deviceinfo "