# Reference: pkgname=device-huawei-kiwi pkgdesc="Huawei Honor 5X" pkgver=1 pkgrel=8 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8939 soc-qcom-msm8916" makedepends="devicepkg-dev" source="deviceinfo" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" nonfree_firmware() { pkgdesc="Modem/GPU/WiFi/BT/Video firmware" depends="linux-firmware-qcom firmware-huawei-kiwi firmware-qcom-adreno-a420" mkdir "$subpkgdir" } build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } sha512sums=" 3fa7043a11d41a6c8730ee60c9c63ab1b2056fa24a24e493292ebf3c1ded6c8773f28ef7056983a16293800f316d5c376b51c19bd2ec747c6e7e3b530b9f527b deviceinfo "