# Reference: pkgname=device-samsung-a30 pkgdesc="Samsung Galaxy A30" pkgver=0.1 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="linux-samsung-a30 mkbootimg postmarketos-base" makedepends="devicepkg-dev" source="deviceinfo initfs-hook.sh" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Samsung A30 nonfree firmware" depends="firmware-samsung-a30" mkdir "$subpkgdir" } sha512sums=" de0f4400065c90c958f394e6062da5e1ec68800c98286b2fcce1072d0ab6115f8bb1693928c122b274184238738458005ad0c13a22e00a3754bdd6cf9f179dcc deviceinfo 04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302 initfs-hook.sh "