pmaports/device/testing/device-huawei-g7/APKBUILD

33 lines
1.1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-huawei-g7
pkgdesc="Huawei Ascend G7"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8916"
makedepends="devicepkg-dev"
source="deviceinfo pointercal"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/pointercal "$pkgdir"/etc/pointercal
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Video firmware"
depends="linux-firmware-qcom firmware-qcom-msm8916-wcnss firmware-huawei-g7-wcnss-nv"
mkdir "$subpkgdir"
}
sha512sums="9631a0ef5e6e9a63a919d45a8d604b89589672fdb3b24c68e5e33b7edb26a72de6cb82efffb89bfa0be0a2678a626044e615b03af6595b5cc9fc83c9bc763031 deviceinfo
b47b3eee3f330408ea28f89b0a70752466f1ab854fc7c4677157fd2dcf5a546d1056b1fbfac587ece827b7ae864e969f0fef6981e4e9802b159f88d03fe9b487 pointercal"