pmaports/device/testing/firmware-lg-c50/APKBUILD
Anton Bambura 33594e6d6d
lg-c50: new device (MR 3783)
[ci:skip-build]: already built successfully in CI
2023-01-06 22:22:52 +01:00

29 lines
902 B
Text

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=firmware-lg-c50
pkgver=1
pkgrel=0
pkgdesc="Firmware for LG Leon LTE"
url="https://github.com/jenneron/firmware_lg_c50"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="620db1e7d485d4daf858df10859d6f12079af9ca"
source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz"
builddir="$srcdir/firmware_lg_c50-$_commit"
_fwdir="/lib/firmware/postmarketos"
package() {
mkdir -p "$pkgdir"
}
wcnss_nv() {
pkgdesc="LG Leon LTE WiFi/BT firmware"
install -Dm644 "$builddir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
}
sha512sums="
3adaf256d1593479926b5dbc39360faf852206932ad13d48cb4cc7a6519e5abf9876ee1f979df6ab4652d7b36490b96bd41865044c3911c5794b5d90b3e2d05f firmware-lg-c50-620db1e7d485d4daf858df10859d6f12079af9ca.tar.gz
"