# Reference: pkgname="device-samsung-i9195" pkgdesc="Samsung Galaxy S4 Mini" pkgver=0.3 pkgrel=3 url="https://postmarketos.org" license="MIT" arch="armhf" options="!check !archcheck" depends="postmarketos-base linux-samsung-i9195 mkbootimg" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" makedepends="devicepkg-dev" source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for Modem and Wifi" # Non-firmware packages placed here, because they aren't useful without firmware depends="firmware-samsung-i9195-modem firmware-samsung-i9195-wlan modem-qcom-msm-downstream-common" mkdir "$subpkgdir" } sha512sums="47084b96adefc492b4ae2bba539caa8f910b3a773af38e342734c1e9c39df2a0351e6bc2fb010398ff4f6693edb90d453567efbde91292c786561d7bbc9a073b deviceinfo"