# Reference: pkgname=device-motorola-surnia pkgdesc="Motorola Moto E (2nd Gen)" pkgver=1 pkgrel=1 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 modules-initfs" 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=" aaf8fccdf9ca80ddd7dc45bdfedbc14a9f9c7d51fb9a61678cc2a6d104aec78fc31846c84b908e47246280778cf7c3cb301a8519b9a052bad49e11dfa3ec3482 deviceinfo 388d0b35d47db710cb061be77876e52575c27dc8af2c77b6118e75c7ab72f9dd0d65b29afddb22a04fc2277fe8834d6834971bf7fb9edbde3a07e19c8c72bbac modules-initfs "