2022-01-11 11:19:47 +00:00
|
|
|
pkgname=firmware-ark-peach
|
|
|
|
pkgver=1
|
2023-10-18 09:10:22 +00:00
|
|
|
pkgrel=1
|
2022-01-11 11:19:47 +00:00
|
|
|
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"
|
|
|
|
|
2023-10-18 09:10:22 +00:00
|
|
|
build() {
|
2022-01-11 11:19:47 +00:00
|
|
|
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
|
|
|
|
"
|