pmaports/device/testing/firmware-motorola-ocean/APKBUILD
Ultracoolguy 1ff589c0a2
firmware-motorola-ocean: Add additional blobs (MR 1558)
firmware-motorola-ocean: Change package() syntax
Also add linux-firmware-qcom dependency
2020-09-22 14:35:27 -04:00

28 lines
1,010 B
Text

pkgname=firmware-motorola-ocean
pkgver=1
pkgrel=1
pkgdesc="Firmware for Motorola Moto G7 Power"
url="https://gitlab.com/Ultracoolguy/firmware-motorola-ocean"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck"
depends="linux-firmware-qcom"
_commit="1d0aa3d90c6984bf2f2774e4fbebcfbfaf2b6d69"
source="https://gitlab.com/Ultracoolguy/firmware-motorola-ocean/-/archive/$_commit/firmware-motorola-ocean-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
_fwdir="/lib/firmware/postmarketos"
package() {
install -Dm644 "$builddir"/wcnss.* -t \
"$pkgdir/$_fwdir"
install -Dm644 "$builddir"/wlan/prima/WCNSS_* -t \
"$pkgdir/$_fwdir"/wlan/prima
install -Dm644 "$builddir"/venus.* -t \
"$pkgdir/$_fwdir"
install -Dm644 "$builddir"/a506_zap.* -t \
"$pkgdir/$_fwdir"
}
sha512sums="a926564f45a199ecb3f5f86da1ad84d80e2d1b772d7c072f018374ff51956442686fa375c8b3f3fc0745fac59277c7504e2dd653aa86cc141e207fba1ff39c7e firmware-motorola-ocean-1d0aa3d90c6984bf2f2774e4fbebcfbfaf2b6d69.tar.gz"