pkgname=device-xiaomi-mido pkgdesc="Xiaomi Redmi Note 4X" pkgver=3 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8953" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Proprietary firmware" depends="linux-firmware-qcom firmware-xiaomi-mido" mkdir "$subpkgdir" } sha512sums=" a86765f31654c58d3b127f547813e6caa980eddfa1bf7eef2a2a1519672fb19c140ab1d10c216a32d0ec0ced1d31a5907793a3e1a295891298b66613c7134b6f deviceinfo "