# Reference: pkgname=device-huawei-alice pkgdesc="Huawei P8 Lite" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-huawei-alice mkbootimg msm-fb-refresher" makedepends="devicepkg-dev" source="deviceinfo" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" nonfree_firmware() { pkgdesc="WiFi firmware" depends="firmware-huawei-alice" mkdir "$subpkgdir" } build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } sha512sums=" 7e6ef16d5f2e75f9299f88a0223853a12fccaf178803bb3f6d97921982cb316d1dfd4599f190fa26e83fead57d2d1ef4ac1a7549d0d69b24977cd541a1b3e2cc deviceinfo "