pmaports/device/testing/firmware-xiaomi-tulip/APKBUILD

29 lines
1.1 KiB
Text

# Maintainer: m0rf30 <morf3089@gmail.com>
pkgname=firmware-xiaomi-tulip
pkgver=2
pkgrel=0
_commit="c8f750d4cdd8c5353c4aaa423f81774c63f87d27"
pkgdesc="Firmware files for Xiaomi Redmi Note 6 Pro"
url="https://postmarketos.org"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
source="$pkgname-$_commit.tar.gz::https://github.com/M0Rf30/postmarketos-vendor-xiaomi-tulip/archive/$_commit.tar.gz
30-gpu-firmware.files
"
builddir="$srcdir/postmarketos-vendor-xiaomi-tulip-$_commit"
_fwdir="/lib/firmware/qcom"
package() {
while IFS="" read -r fw; do
install -Dm644 "$fw" -t "$pkgdir/$_fwdir"
done < "$srcdir"/30-gpu-firmware.files
install -Dm644 qcom/a512_zap.elf "$pkgdir/$_fwdir/a512_zap.mbn"
}
sha512sums="
fd36819cabb028973015587e4193642e7c36b2321181a1c3dc7631fcfe51e7e736f4679665d4e4ad2eef8ddd4fe541a8a15e93189822702e23463a43023fe549 firmware-xiaomi-tulip-c8f750d4cdd8c5353c4aaa423f81774c63f87d27.tar.gz
4ec4f0da2d0d0aab4db5b212cdfffebc8dfa50bfc9863145a500a244fce50ab2eabbc0c24b9ab6ad6a5bdaeffeb9f61923b7967450778c3d3475a4a7ad69efe7 30-gpu-firmware.files
"