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