# Reference: pkgname=device-motorola-surnia pkgdesc="Motorola Moto E (2nd Gen)" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916 soc-qcom-msm8916-rproc" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " _pmb_select="soc-qcom-msm8916-rproc" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="GPU/Wi-Fi/Bluetooth/Video(/Modem) firmware" depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-motorola-surnia-wcnss-nv firmware-motorola-harpia-venus" mkdir "$subpkgdir" } sha512sums=" cf588a9a218dbe542700bb4a6b57d6c268cdfbb589fd348245d58d1530f04471d24af6c9059030971bd55d0f2d35a006720176e46f188a685d38be2a1cffad9e deviceinfo "