firmware/firmware-motorola-titan: fix linting issues (!873)
This commit is contained in:
parent
74b1554231
commit
d541ffc2e8
1 changed files with 9 additions and 14 deletions
|
@ -1,34 +1,29 @@
|
|||
# Contributor: Pablo Castellano <pablo@anche.no>
|
||||
pkgname=firmware-motorola-titan
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_commit="ac0d15c78cc705c9a76506e6f761cd006018d7bd"
|
||||
pkgdesc="Firmware files for Motorola Moto G 2014 (titan) and Moto G 4G 2013 (peregrine)"
|
||||
url="https://postmarketos.org"
|
||||
arch="armhf"
|
||||
license="proprietary"
|
||||
depends="wcnss-wlan"
|
||||
options="!check !strip !archcheck"
|
||||
|
||||
# Source
|
||||
_commit="ac0d15c78cc705c9a76506e6f761cd006018d7bd"
|
||||
_url="https://github.com/PabloCastellano/vendor_motorola_titan"
|
||||
source="$pkgname-$_commit.tar.gz::$_url/archive/${_commit}.tar.gz"
|
||||
source="$pkgname-$_commit.tar.gz::https://github.com/PabloCastellano/vendor_motorola_titan/archive/$_commit.tar.gz"
|
||||
options="!check !strip !archcheck !spdx"
|
||||
builddir="$srcdir/vendor_motorola_titan-$_commit"
|
||||
|
||||
package() {
|
||||
cd "$srcdir/vendor_motorola_titan-$_commit"
|
||||
|
||||
# /lib/firmware/postmarketos
|
||||
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
|
||||
wcnss.b08 wcnss.b09 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_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_cal.bin
|
||||
WCNSS_qcom_wlan_nv.bin WCNSS_qcom_wlan_factory_nv.bin"
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue