31 lines
903 B
Text
31 lines
903 B
Text
|
pkgname=firmware-ark-peach
|
||
|
pkgver=1
|
||
|
pkgrel=0
|
||
|
pkgdesc="Firmware for ARK Benefit A3"
|
||
|
url="https://postmarketos.org"
|
||
|
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
||
|
arch="aarch64"
|
||
|
license="proprietary"
|
||
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
||
|
source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/F2zDaaqf"
|
||
|
|
||
|
_fwdir="/lib/firmware/postmarketos"
|
||
|
|
||
|
unpack() {
|
||
|
default_unpack
|
||
|
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
mkdir -p "$pkgdir"
|
||
|
}
|
||
|
|
||
|
wcnss_nv() {
|
||
|
pkgdesc="ARK Benefit A3 WiFi/BT firmware configuration"
|
||
|
replaces="firmware-ark-peach-wcnss"
|
||
|
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
||
|
}
|
||
|
sha512sums="
|
||
|
214a1e9ec215f4cdf25fee73b2cec446815131b1de283c887a30ea41deffd54c78e7d56cc7f895c5832d568eb336ec8c5ebc114f8a0d331876f940276741c082 firmware-ark-peach-WCNSS_qcom_wlan_nv.bin.base64
|
||
|
"
|