# Reference: pkgname=device-samsung-j5 pkgdesc="Samsung Galaxy J5 (2015)" pkgver=3 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916" makedepends="devicepkg-dev" source="deviceinfo" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" 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=" fc9dbef4f6fa7847618e692aaa23eb994676186aa9530088f5368bd64fcefd1c950546c17206276fe5d567b2c5cb1ecabe9ee6b4601c1c35a308d363de4c67bc deviceinfo "