firmware/firmware-xiaomi-kenzo: fix linting issues (!873)

This commit is contained in:
Bart Ribbers 2020-01-07 09:37:56 +01:00 committed by Daniele Debernardi
parent 544bce4b47
commit c37d512840
No known key found for this signature in database
GPG key ID: 5782FCF5DAE9AF60

View file

@ -1,32 +1,32 @@
# Contributor: Idan Horo <idan.horowitz@gmail.com>
pkgname=firmware-xiaomi-kenzo
pkgver=1
pkgrel=1
pkgrel=2
_commit="a95bb1dcd92fb301d8e4401679f6c19d93f5875c"
pkgdesc="Firmware files for Xiaomi Redmi Note 3"
url="https://postmarketos.org"
arch="aarch64"
license="proprietary"
depends="wcnss-wlan"
options="!strip !check !archcheck"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/IdanHoro/vendor_xiaomi_kenzo/-/archive/$_commit/vendor_xiaomi_kenzo-$_commit.tar.gz"
options="!strip !check !archcheck !spdx"
builddir="$srcdir/vendor_xiaomi_kenzo-$_commit"
# Source
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
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 WCNSS_cfg.dat"
_commit="a95bb1dcd92fb301d8e4401679f6c19d93f5875c"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/IdanHoro/vendor_xiaomi_kenzo/-/archive/${_commit}/vendor_xiaomi_kenzo-${_commit}.tar.gz"
package() {
cd "$srcdir/vendor_xiaomi_kenzo-${_commit}"
package() {
# /lib/firmware/postmarketos
for _i in $_files; do
install -D -m644 "$_i" \
"$pkgdir/lib/firmware/postmarketos/$_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"
install -D -m644 wlan/prima/"$_i" \
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
done
}