firmware/firmware-xiaomi-tissot: fix linting issues (!873)
This commit is contained in:
parent
122433b3b0
commit
a7c72df41b
@ -1,44 +1,39 @@
|
|||||||
|
# Contributor: Ion Agorria <ion@agorria.com>
|
||||||
pkgname=firmware-xiaomi-tissot
|
pkgname=firmware-xiaomi-tissot
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
|
_commit="98cc201f4cef4372298206bc910a6599a95cd258"
|
||||||
pkgdesc="Firmware files for Xiaomi Mi A1"
|
pkgdesc="Firmware files for Xiaomi Mi A1"
|
||||||
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"
|
source="$pkgname-$_commit.tar.gz::https://gitlab.com/IonAgorria/postmarketos-vendor-xiaomi-tissot/-/archive/$_commit.tar.gz"
|
||||||
|
options="!strip !check !archcheck !spdx"
|
||||||
|
builddir="$srcdir/postmarketos-vendor-xiaomi-tissot-$_commit"
|
||||||
|
|
||||||
# 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
|
||||||
adsp.b00 adsp.b01 adsp.b02 adsp.b03 adsp.b04
|
adsp.b00 adsp.b01 adsp.b02 adsp.b03 adsp.b04
|
||||||
adsp.b05 adsp.b06 adsp.b07 adsp.b08 adsp.b09
|
adsp.b05 adsp.b06 adsp.b07 adsp.b08 adsp.b09
|
||||||
adsp.b10 adsp.b11 adsp.b12 adsp.b13 adsp.mdt
|
adsp.b10 adsp.b11 adsp.b12 adsp.b13 adsp.mdt
|
||||||
qdsp6m.qdb
|
qdsp6m.qdb
|
||||||
a506_zap.b00 a506_zap.b01 a506_zap.b02 a506_zap.mdt
|
a506_zap.b00 a506_zap.b01 a506_zap.b02 a506_zap.mdt"
|
||||||
"
|
_files_prima="WCNSS_wlan_dictionary.dat
|
||||||
_files_prima="
|
|
||||||
WCNSS_wlan_dictionary.dat
|
|
||||||
WCNSS_qcom_cfg.ini
|
WCNSS_qcom_cfg.ini
|
||||||
WCNSS_qcom_wlan_nv.bin
|
WCNSS_qcom_wlan_nv.bin"
|
||||||
"
|
|
||||||
_commit="98cc201f4cef4372298206bc910a6599a95cd258"
|
|
||||||
source="$pkgname-$_commit.tar.gz::https://gitlab.com/IonAgorria/postmarketos-vendor-xiaomi-tissot/-/archive/$_commit/postmarketos-vendor-xiaomi-tissot-$_commit.tar.gz"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/postmarketos-vendor-xiaomi-tissot-${_commit}"
|
|
||||||
|
|
||||||
# /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…
x
Reference in New Issue
Block a user