2021-06-07 11:30:39 +00:00
|
|
|
pkgname=firmware-huawei-alice
|
2023-12-12 07:29:50 +00:00
|
|
|
pkgver=2
|
2021-06-07 11:30:39 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Huawei P8 Lite"
|
|
|
|
url="https://git.sr.ht/~bo41/firmware-huawei-alice"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2021-06-07 11:30:39 +00:00
|
|
|
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
|
2023-12-12 07:29:50 +00:00
|
|
|
9e509491d4c772adb9a28a4fe59b1e156a0c440512b6255b17821a459736cf022da6bf5eaf00fa805d42b384cb53f8f740bd6e0735b297c7a6d91f4413d603a6 alice-wlan
|
2021-06-07 11:30:39 +00:00
|
|
|
"
|