From 544bce4b475c8dd21703322ab8d2a4907d875aa0 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 7 Jan 2020 09:33:51 +0100 Subject: [PATCH] firmware/firmware-motorola-cedric: fix linting issues (!873) --- firmware/firmware-motorola-cedric/APKBUILD | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/firmware/firmware-motorola-cedric/APKBUILD b/firmware/firmware-motorola-cedric/APKBUILD index 67ae20f54..945f18ee6 100644 --- a/firmware/firmware-motorola-cedric/APKBUILD +++ b/firmware/firmware-motorola-cedric/APKBUILD @@ -1,34 +1,31 @@ +# Contributor: Hacker1245 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 }