# Reference: pkgname=device-samsung-a30 pkgdesc="Samsung Galaxy A30" pkgver=0.1 pkgrel=6 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=" dffaf05dc5f932ef73bf633bf6e6438bd5ed33cb65b0d7df5bd68756cce92e95f794f229b42cfa20db5db5c9693bba2c4636e1dd303c92c8a54e5ab9fc7722b1 deviceinfo 04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302 initfs-hook.sh "