pmaports/device/testing/firmware-huawei-alice/APKBUILD

28 lines
1,007 B
Text

pkgname=firmware-huawei-alice
pkgver=2
pkgrel=0
pkgdesc="Firmware for Huawei P8 Lite"
url="https://git.sr.ht/~bo41/firmware-huawei-alice"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
install="$pkgname.post-install"
# Sources
_commit="6aa2ebaa11caaccbe29f2764c24a54d2bc4a77bd"
source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz alice-wlan"
_fwdir="/lib/firmware/postmarketos"
builddir="$srcdir/$pkgname-$_commit"
package() {
pkgdesc="Huawei Alice WiFi firmware"
# WiFi
install -Dm644 * -t "$pkgdir/$_fwdir"
install -Dm755 "$srcdir"/alice-wlan "$pkgdir"/etc/init.d/alice-wlan
}
sha512sums="
76e5b925021e892a53961f7d638d1562862e22759aef4de84ad7a5f1a2018595030bd063da9fc7b430d3ddc44eed1f724a1a35e943cd1289ed6e696303851623 firmware-huawei-alice-6aa2ebaa11caaccbe29f2764c24a54d2bc4a77bd.tar.gz
9e509491d4c772adb9a28a4fe59b1e156a0c440512b6255b17821a459736cf022da6bf5eaf00fa805d42b384cb53f8f740bd6e0735b297c7a6d91f4413d603a6 alice-wlan
"