# Reference: pkgname=device-xiaomi-elish pkgdesc="Xiaomi Mi Pad 5 Pro" pkgver=0.4 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-sm8250 make-dynpart-mappings mkbootimg postmarketos-base " makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for GPU, WiFi, etc." depends=" firmware-xiaomi-elish-adreno firmware-xiaomi-elish-touchscreen firmware-xiaomi-elish-venus linux-firmware-ath11k " mkdir "$subpkgdir" } sha512sums=" 242ec3dbfed898e1c0cc63edcf49885499c766aa7b38000880867b70605e0f50dbe3c8ac9733e99bd3725fb20d4952f1148416cc1ff5adea3fc576eb21d58260 deviceinfo "