# Reference: pkgname=device-xiaomi-mido pkgdesc="Xiaomi Redmi Note 4" pkgver=0.1 pkgrel=5 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-xiaomi-mido mkbootimg mesa-dri-swrast mdss-fb-init-hack" makedepends="devicepkg-dev" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Wifi firmware" depends="firmware-xiaomi-mido" mkdir "$subpkgdir" } sha512sums="26da380409c031cec4b5ba4f777a03a98f753aca7d80b0f8496f5eea365d10d8ff8ca1628d9c97d9f7317f6bd8610fe915ae8f1057d32250de3edd645d7788a9 deviceinfo"