37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
|
# Maintainer: Denis Tolstov <tolstov_den@mail.ru>
|
||
|
pkgname=firmware-xiaomi-rolex
|
||
|
pkgver=0.1
|
||
|
pkgrel=0
|
||
|
_commit="9dd5fa22ee401cca0d3b703b4773b011c186d04e"
|
||
|
pkgdesc="Firmware files for Xiaomi Redmi 4A"
|
||
|
url="https://postmarketos.org"
|
||
|
arch="aarch64"
|
||
|
license="proprietary"
|
||
|
options="!strip !check !archcheck !spdx pmb:cross-native !tracedeps"
|
||
|
|
||
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
|
||
|
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt
|
||
|
adsp.b00 adsp.b02 adsp.b04 adsp.b06 adsp.b08 adsp.b10
|
||
|
adsp.b12 adsp.b14 adsp.b01 adsp.b03 adsp.b05 adsp.b07
|
||
|
adsp.b09 adsp.b11 adsp.b13 adsp.mdt"
|
||
|
_files_prima="WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_wlan_dictionary.dat"
|
||
|
source="$pkgname-$_commit.tar.gz::https://github.com/nrdnandan/vendor_xiaomi_rolex/archive/$_commit.tar.gz"
|
||
|
builddir="$srcdir/vendor_xiaomi_rolex-$_commit"
|
||
|
|
||
|
package() {
|
||
|
# /lib/firmware/postmarketos
|
||
|
for _i in $_files; do
|
||
|
install -D -m644 "$_i" \
|
||
|
"$pkgdir"/lib/firmware/postmarketos/"$_i"
|
||
|
done
|
||
|
|
||
|
# /lib/firmware/postmarketos/wlan/prima
|
||
|
for _i in $_files_prima; do
|
||
|
install -D -m644 wlan/prima/"$_i" \
|
||
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
||
|
done
|
||
|
}
|
||
|
|
||
|
|
||
|
sha512sums="308a8f7ec1b5d91d14bedfe2dee693386710f6530c0e9e3583b0a18df9fab1905add916fe662abd56e24e63a7541902856fb9fbc1f700d6b368702265fe235e1 firmware-xiaomi-rolex-9dd5fa22ee401cca0d3b703b4773b011c186d04e.tar.gz"
|