# Reference: pkgname=device-samsung-j5 pkgdesc="Samsung Galaxy J5 (2015)" pkgver=5.1 pkgrel=1 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 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-j5-wcnss-nv" mkdir "$subpkgdir" } sha512sums=" 22866660f476826a6ac43c2cb4a685a329b30c87d581db30d7eb3f7d4e8109b03ad2664026b28ac463358feef5f471d03ee008cf5bdaa40874a9bd2794087e71 deviceinfo 27839a3da5c8b17516f64e0f7c38af2f502379553643a23834038cebd8ef47ea8d321fe796f99715102ce92f70a9fe0cb97062624a3589b98696154bfd7a4514 modules-initfs "