# Reference: pkgname=device-motorola-montana pkgdesc="Motorola Moto G5s" pkgver=0.3 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" options="!check !archcheck" depends="postmarketos-base linux-motorola-montana mkbootimg mesa-dri-swrast msm-fb-refresher" makedepends="devicepkg-dev" source="deviceinfo initfs-hook.sh" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Wifi firmware" depends="firmware-motorola-montana-wcnss wcnss-wlan" mkdir "$subpkgdir" } sha512sums="cffe57f97c0e85e8b591222987bd71de11c52d269525c5cc378fe117ee9cdd415cb71fd064bafbc1e6aa18d4df165d1fb3818b644c0dd2eac2eba5dd3aaac91e deviceinfo 97acac2557914cc234d75dd9869338e0eac13196649a661c59caa52b8953c4170a2fa2fbc9ee5518935c325d779b45d6c179c71474366b1200a4bd1e5172a882 initfs-hook.sh"