# Reference: pkgname=device-samsung-j5x pkgdesc="Samsung Galaxy J5 (2016)" pkgver=3.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-j5x-wcnss-nv" mkdir "$subpkgdir" } sha512sums=" ba24a432ef451c8f3254a3ac35bc204c6a4113075f00b03defbe78e69ff1b97b255edce6d368631e25de21941941f1b05b6721904475d85a5b64da1b8c2c1588 deviceinfo "