firmware/firmware-motorola-cedric: fix linting issues (!873)

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

View file

@ -1,34 +1,31 @@
# Contributor: Hacker1245 <kacper12455@gmail.com>
pkgname=firmware-motorola-cedric
pkgver=1
pkgrel=0
pkgrel=1
_commit="5d90d65c31a1d3da14900e553faeedf9af3de689"
pkgdesc="Firmware files for Motorola Moto G5"
url="https://postmarketos.org"
arch="aarch64"
license="proprietary"
depends="wcnss-wlan"
options="!check !strip !archcheck"
# Source
_commit="5d90d65c31a1d3da14900e553faeedf9af3de689"
_url="https://github.com/Hacker1245/vendor_motorola_cedric/"
source="$pkgname-$_commit.tar.gz::$_url/archive/${_commit}.tar.gz"
source="$pkgname-$_commit.tar.gz::https://github.com/Hacker1245/vendor_motorola_cedric/archive/$_commit.tar.gz"
options="!check !strip !archcheck !spdx"
builddir="$srcdir/vendor_motorola_cedric-$_commit"
package() {
cd "$srcdir/vendor_motorola_cedric-$_commit"
# /lib/firmware/postmarketos
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
for _i in $_files; do
install -D -m644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i"
install -D -m644 "$_i" "$pkgdir"/lib/firmware/postmarketos/"$_i"
done
# /lib/firmware/postmarketos/wlan/prima
_files="WCNSS_qcom_cfg.ini
WCNSS_qcom_wlan_nv.bin WCNSS_wlan_dictionary.dat"
for _i in $_files; 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
}