2020-10-13 15:55:13 +00:00
|
|
|
pkgname=firmware-asus-z00l
|
2021-10-19 08:00:37 +00:00
|
|
|
pkgver=3
|
2020-10-13 15:55:13 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for ASUS Zenfone 2 Laser (720p) (ZE550KL)"
|
|
|
|
url="https://github.com/antony-jr/firmware-asus-z00l-raw"
|
2021-10-19 08:00:37 +00:00
|
|
|
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
2020-10-13 15:55:13 +00:00
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2020-10-13 15:55:13 +00:00
|
|
|
_commit="d78364b2127e8187f79e271e94dde03f0f722432"
|
|
|
|
_repo="firmware-asus-z00l-raw"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
builddir="$srcdir/$_repo-$_commit"
|
|
|
|
|
|
|
|
source="
|
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/antony-jr/$_repo/archive/$_commit.tar.gz
|
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-22 14:31:09 +00:00
|
|
|
wcnss_nv() {
|
|
|
|
pkgdesc="ASUS Zenfone 2 Laser WiFi/BT firmware configuration"
|
|
|
|
replaces="firmware-asus-z00l-wcnss"
|
2020-10-13 15:55:13 +00:00
|
|
|
cd "$builddir"
|
2021-09-22 14:31:09 +00:00
|
|
|
install -Dm644 etc-firmware/wlan/prima/WCNSS_qcom_wlan_nv_ze550kl.bin \
|
|
|
|
"$subpkgdir/$_fwdir"/wlan/prima/WCNSS_qcom_wlan_nv.bin
|
2020-10-13 15:55:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="176da0aa399eddb6b9ab582b12bc698af369397a19c28556c39a656b573a5d4b02effe11a97d2f4c81568df03bc7859d999eb5d196a842dde4940cee192b96b3 firmware-asus-z00l-d78364b2127e8187f79e271e94dde03f0f722432.tar.gz"
|