# Reference: pkgname=device-samsung-serranolte pkgdesc="Samsung Galaxy S4 Mini" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends="postmarketos-base linux-samsung-serranolte 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-serranolte-modem firmware-samsung-serranolte-wlan msm-modem-downstream" mkdir "$subpkgdir" } sha512sums=" 7a375795bbe61107a5385c0f001bf9a5db351f076ac52f5db372b26624ae15a359ac83a0664a96400fa9de97ca6f784206d688dc0169daa8f6634f368a87f276 deviceinfo "