# Reference: pkgname=device-samsung-j5 pkgdesc="Samsung Galaxy J5 (2015)" pkgver=4 pkgrel=0 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=" 0d9a6c27cd1cf577ad3c04c1ab4378db35c27dbdd2b3646c8b4497f3d7eed0bb66dcbf681af92ff27f03284f89857ef9ab73e2f2f120a810d276aa73c4924d03 deviceinfo "