pkgname=firmware-acer-t01 pkgver=1 pkgrel=0 _name="Acer Liquid Z330" pkgdesc="Firmware for $_name" url="https://postmarketos.org" subpackages="$pkgname-wcnss-nv:wcnss_nv" arch="armv7" license="proprietary" options="!check !strip !archcheck !tracedeps pmb:cross-native" source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/ebRCebX7" _fwdir="/lib/firmware/postmarketos" build() { base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin } package() { # parent package is empty mkdir -p "$pkgdir" } wcnss_nv() { pkgdesc="$_name WiFi/BT firmware configuration" install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima } sha512sums=" 8f8d40f4eeb20abefbe607d34e660cbb06db20677ea8780b82fdbc8d69f35d05d8cee2b8ff6f4fde1d8e6270215367f049f4c8a1eb088e09e42447744cb61749 firmware-acer-t01-WCNSS_qcom_wlan_nv.bin.base64 "