pmaports/device/testing/firmware-motorola-falcon/APKBUILD

31 lines
1.1 KiB
Text
Raw Normal View History

pkgname=firmware-motorola-falcon
pkgver=1
pkgrel=1
pkgdesc="Firmware files for Motorola Moto G 2013 (falcon)"
url="https://postmarketos.org"
arch="armv7"
license="proprietary"
depends="wcnss-wlan"
options="!check !strip !archcheck"
_commit="a4b3ead9368499ebfa8c2d8a0ababb1c1bf8db4d"
_url="https://github.com/fbraghiroli/vendor_motorola_falcon"
source="$pkgname-$_commit.tar.gz::$_url/archive/$_commit.tar.gz"
builddir="$srcdir/vendor_motorola_falcon-$_commit"
package() {
_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"
done
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini
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"
done
}
sha512sums="54058c3d34307d0a1ab7a95b04b52a26a5b1446b05af594a9787931619f1b4dfb1c279f3ba78079a450ddc86aeb0d8507109feb20327b6c3d2477f946ee2aa9f firmware-motorola-falcon-a4b3ead9368499ebfa8c2d8a0ababb1c1bf8db4d.tar.gz"