# Maintainer: Barnabas Czeman pkgname=device-xiaomi-mido pkgdesc="Xiaomi Redmi Note 4X" pkgver=5 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-msm8953 lk2nd-msm8953 mkbootimg postmarketos-base soc-qcom-msm8953 " makedepends="devicepkg-dev" source="deviceinfo modules-initfs" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Proprietary firmware" depends=" firmware-xiaomi-mido linux-firmware-qcom msm-firmware-loader soc-qcom-msm8953-initramfs soc-qcom-msm8953-modem " mkdir "$subpkgdir" } sha512sums=" cdca8edd4ccb13c0198493dcf14e43a2acf8eaddc1dcfba6eb895485b172c7315ab389011fdf9bb54b68a4fb82c31d9a7b50caa566d1aa992a347facb49758b4 deviceinfo bfcf463fc08b9331d5266d35f6228c6f37032f5792ca6ca51807c9ca7448d2e15825192f374b99cc649b3dd205b358332a3e837d012aa3089515fd133d7d9cb2 modules-initfs "