2022-11-19 21:33:45 +00:00
|
|
|
pkgname=firmware-motorola-ali
|
|
|
|
pkgver=1
|
2024-05-14 18:46:09 +00:00
|
|
|
pkgrel=1
|
2022-11-19 21:33:45 +00:00
|
|
|
pkgdesc="Firmware for Motorola Moto G6"
|
|
|
|
url="https://github.com/julianbraha/firmware-motorola-ali"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
_repository="firmware-blobs"
|
|
|
|
_commit="153ba76124497fb7ce22d87a90149a15bcf67942"
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/moto-g6-mainlining/firmware-blobs/archive/$_commit.tar.gz"
|
|
|
|
options="!strip !check !archcheck !spdx !tracedeps"
|
|
|
|
builddir="$srcdir/$_repository-$_commit"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
|
|
|
package() {
|
2024-05-14 18:46:09 +00:00
|
|
|
# GPU Firmware files
|
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2022-11-19 21:33:45 +00:00
|
|
|
|
2024-05-14 18:46:09 +00:00
|
|
|
# WLAN Firmware
|
|
|
|
install -Dm644 wlan/prima/WCNSS_qcom_wlan_nv.bin -t "$pkgdir/$_fwdir/wlan/prima"
|
2022-11-19 21:33:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
269ac182806e9128557ac614142bfd6a2feab2cc3d2555268064df7ad1880de0d5e85b781a34ca57693d9c32ffe7d31da7fd34f9fd6364bc2b7cc2fdb90edc80 firmware-motorola-ali-153ba76124497fb7ce22d87a90149a15bcf67942.tar.gz
|
|
|
|
"
|