# Reference: pkgname=device-samsung-j53g pkgdesc="Samsung Galaxy J5 2015 (SM-J500H)" pkgver=1 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/Video firmware" depends="linux-firmware-qcom firmware-samsung-j53g-venus firmware-samsung-j53g-wcnss" mkdir "$subpkgdir" } sha512sums=" d3345a7b6e977d50b19dd10a6cb68a4ed00fed4bbe310572948626f4458cde741508778a9df7dfdb9d4bfd7d3276c25b6a3dea20e7d9c793c901b71bed496325 deviceinfo "