2017-11-29 21:16:02 +00:00
|
|
|
pkgname=firmware-lenovo-karate
|
|
|
|
pkgver=1
|
2020-04-28 23:34:20 +00:00
|
|
|
pkgrel=1
|
|
|
|
_commit="5ce975ce101adbd775002dc0bb73ba9ddbbd717f"
|
2017-11-29 21:16:02 +00:00
|
|
|
pkgdesc="Firmware files for Lenovo K6 Power"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 07:43:32 +00:00
|
|
|
arch="aarch64"
|
2017-11-29 21:16:02 +00:00
|
|
|
license="proprietary"
|
|
|
|
depends="wcnss-wlan"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2020-04-28 23:34:20 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/drebrez/vendor_lenovo_karate/archive/$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/vendor_lenovo_karate-$_commit"
|
2017-11-29 21:16:02 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
# /lib/firmware/postmarketos
|
|
|
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b09
|
|
|
|
wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
|
|
|
|
for _i in $_files; do
|
2020-04-28 23:34:20 +00:00
|
|
|
install -Dm644 "$_i" "$pkgdir"/lib/firmware/postmarketos/"$_i"
|
2017-11-29 21:16:02 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
# /lib/firmware/postmarketos/wlan/prima
|
|
|
|
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin
|
|
|
|
WCNSS_wlan_dictionary.dat"
|
|
|
|
for _i in $_files; do
|
2020-04-28 23:34:20 +00:00
|
|
|
install -Dm644 wlan/prima/"$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
2017-11-29 21:16:02 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2020-04-28 23:34:20 +00:00
|
|
|
sha512sums="a3aacdfcf2ce79558587a36dcd8d964e2b7374fb44a4600e9d1e6d13db92ed357f2761c5c0a9ce45e3038ce9ed46e599cec7c3ae5bce8178b6eb90a0907f7ec1 firmware-lenovo-karate-5ce975ce101adbd775002dc0bb73ba9ddbbd717f.tar.gz"
|