2023-02-25 10:18:24 +00:00
|
|
|
# Maintainer: vipaoL <vipaolmail@gmail.com>
|
|
|
|
|
|
|
|
pkgname=firmware-xiaomi-markw
|
2023-09-10 17:13:44 +00:00
|
|
|
pkgver=2
|
2024-03-27 20:01:55 +00:00
|
|
|
pkgrel=1
|
2023-02-25 10:18:24 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Redmi 4 Prime (markw)"
|
|
|
|
url="https://gitlab.com/vipaoL/firmware-xiaomi-markw"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
|
|
|
|
|
|
|
_commit="8cc7f7d9e56aa9fa0193403b694115d759eafaf2"
|
|
|
|
|
2023-09-10 17:13:44 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit/lib/firmware/postmarketos"
|
2024-03-27 20:01:55 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2023-02-25 10:18:24 +00:00
|
|
|
|
|
|
|
package() {
|
2023-09-10 17:13:44 +00:00
|
|
|
# GPU firmwares
|
2024-03-27 20:01:55 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2023-02-25 10:18:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-10 17:13:44 +00:00
|
|
|
f57ec60776f0cfd89ccc0f4a561aa261367b299796b4a9121814c560eab7a28b3049a3defcc129942098b88937fad8f6c3bbf2d1ac7d89d4175c8ec4014c1a8a firmware-xiaomi-markw-8cc7f7d9e56aa9fa0193403b694115d759eafaf2.tar.gz
|
2023-02-25 10:18:24 +00:00
|
|
|
"
|