firmware/firmware-xiaomi-santoni: fix linting issues (!873)
This commit is contained in:
parent
ef1fa26075
commit
a406acfe53
1 changed files with 10 additions and 9 deletions
|
@ -1,11 +1,13 @@
|
||||||
|
# Contributor: Danct12 <danct12@disroot.org>
|
||||||
pkgname=firmware-xiaomi-santoni
|
pkgname=firmware-xiaomi-santoni
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
|
_commit="926d2ffbcb572ede8ad5942acea69175908afbb7"
|
||||||
pkgdesc="Firmware files for Xiaomi Redmi 4X"
|
pkgdesc="Firmware files for Xiaomi Redmi 4X"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
license="proprietary"
|
license="proprietary"
|
||||||
options="!strip !check !archcheck"
|
options="!strip !check !archcheck !spdx"
|
||||||
|
|
||||||
# Source
|
# Source
|
||||||
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
|
||||||
|
@ -14,21 +16,20 @@ _files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
|
||||||
adsp.b06 adsp.b07 adsp.b08 adsp.b09 adsp.b10 adsp.b11
|
adsp.b06 adsp.b07 adsp.b08 adsp.b09 adsp.b10 adsp.b11
|
||||||
adsp.b12 adsp.b13 adsp.b14 adsp.mdt"
|
adsp.b12 adsp.b13 adsp.b14 adsp.mdt"
|
||||||
_files_prima="WCNSS_wlan_dictionary.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin"
|
_files_prima="WCNSS_wlan_dictionary.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin"
|
||||||
_commit="926d2ffbcb572ede8ad5942acea69175908afbb7"
|
source="$pkgname-$_commit.tar.gz::https://github.com/Danct12/vendor_xiaomi_santoni/archive/$_commit.tar.gz"
|
||||||
source="$pkgname-$_commit.tar.gz::https://github.com/Danct12/vendor_xiaomi_santoni/archive/${_commit}.tar.gz"
|
builddir="$srcdir/vendor_xiaomi_santoni-$_commit"
|
||||||
package() {
|
|
||||||
cd "$srcdir/vendor_xiaomi_santoni-${_commit}"
|
|
||||||
|
|
||||||
|
package() {
|
||||||
# /lib/firmware/postmarketos
|
# /lib/firmware/postmarketos
|
||||||
for _i in $_files; do
|
for _i in $_files; do
|
||||||
install -D -m644 "$_i" \
|
install -D -m644 "$_i" \
|
||||||
"$pkgdir/lib/firmware/postmarketos/$_i"
|
"$pkgdir"/lib/firmware/postmarketos/"$_i"
|
||||||
done
|
done
|
||||||
|
|
||||||
# /lib/firmware/postmarketos/wlan/prima
|
# /lib/firmware/postmarketos/wlan/prima
|
||||||
for _i in $_files_prima; do
|
for _i in $_files_prima; do
|
||||||
install -D -m644 "wlan/prima/$_i" \
|
install -D -m644 wlan/prima/"$_i" \
|
||||||
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue