firmware/firmware-xiaomi-mido: fix linting issues (!873)
This commit is contained in:
parent
05439148e4
commit
0dd8582773
1 changed files with 9 additions and 8 deletions
|
@ -1,32 +1,33 @@
|
||||||
|
# Contributor: Nikolay <nikolay0054@gmail.com>
|
||||||
pkgname=firmware-xiaomi-mido
|
pkgname=firmware-xiaomi-mido
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Firmware files for Xiaomi Redmi Note 4"
|
pkgdesc="Firmware files for Xiaomi Redmi Note 4"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
license="proprietary"
|
license="proprietary"
|
||||||
depends="wcnss-wlan"
|
depends="wcnss-wlan"
|
||||||
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
|
||||||
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
|
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.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="9a07efe4fcf2d13bcdb4490ea0cb08ad78c56e0b"
|
_commit="9a07efe4fcf2d13bcdb4490ea0cb08ad78c56e0b"
|
||||||
source="$pkgname-$_commit.tar.gz::https://github.com/Nikolay0054/vendor_xiaomi_mido/archive/${_commit}.tar.gz"
|
source="$pkgname-$_commit.tar.gz::https://github.com/Nikolay0054/vendor_xiaomi_mido/archive/$_commit.tar.gz"
|
||||||
package() {
|
builddir="$srcdir/vendor_xiaomi_mido-$_commit"
|
||||||
cd "$srcdir/vendor_xiaomi_mido-${_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