pmaports/device/testing/device-huawei-sturgeon/APKBUILD

43 lines
1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-huawei-sturgeon
pkgdesc="Huawei Watch"
pkgver=0.3
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-huawei-sturgeon
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
networkmanager.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/networkmanager.conf \
"$pkgdir"/etc/NetworkManager/conf.d/10-sturgeon.conf
}
nonfree_firmware() {
pkgdesc="WiFi firmware"
depends="firmware-huawei-sturgeon"
mkdir "$subpkgdir"
}
sha512sums="
33c27ad87e7e530b496fceebe1fc565a662d44c3619d991d5c41476a9f2d6354863f9135b29d70b0e9f14f08dae798b06a5cbf2a64fd7eecee232f5000be0fe9 deviceinfo
a19923f30ac1d328a85ab1162e44442da28dd1ae45529fb73e21d8004594487f61c8f5372e5bbaadfefd27fe27c8a22ce430b81891ac1965e5704bbfec108b82 networkmanager.conf
"