# Maintainer: Leandro Friedrich # Reference: pkgname=device-samsung-a52q pkgdesc="Samsung Galaxy A52" pkgver=1 pkgrel=4 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-sm7125 mkbootimg postmarketos-base soc-qcom-sm7125 alsa-ucm-conf-samsung-sm7125 " makedepends="devicepkg-dev" source="deviceinfo" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for GPU, Audio, Modem, WiFi, etc." depends=" firmware-samsung-a52q-adreno firmware-samsung-a52q-adsp firmware-samsung-a52q-cdsp firmware-samsung-a52q-ipa firmware-samsung-a52q-modem firmware-samsung-a52q-wlan firmware-samsung-a52q-bluetooth firmware-samsung-a52q-venus " mkdir "$subpkgdir" } sha512sums=" b2e3c34e0539b72561f90f1b12da782831cbd52b385bda643dd23f6ec31f83dfbc09c474e1020c6617946e1876ebebd95db863af95a8bd14f1fc718e3b8a8576 deviceinfo "