2023-08-15 18:32:31 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
|
|
|
pkgname=firmware-xiaomi-onclite
|
2023-10-02 22:30:33 +00:00
|
|
|
pkgver=2
|
2023-08-15 18:32:31 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware files for Xiaomi Redmi 7"
|
|
|
|
url="https://gitlab.com/barni2000/$pkgname"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
|
|
|
|
|
|
|
_commit="5ab4968ab12acb60a5e165008fdf25345e80c309"
|
|
|
|
|
2023-10-02 22:30:33 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
2023-08-15 18:32:31 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
2023-10-02 22:30:33 +00:00
|
|
|
_fwdir="/lib/firmware"
|
2023-08-15 18:32:31 +00:00
|
|
|
|
|
|
|
package() {
|
2023-10-02 22:30:33 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir/postmarketos"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir/postmarketos"
|
|
|
|
install -Dm644 a530_pfp.fw -t "$pkgdir/$_fwdir/qcom"
|
|
|
|
install -Dm644 a530_pm4.fw -t "$pkgdir/$_fwdir/qcom"
|
2023-08-15 18:32:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
e95cf73b4a2e13c8ea3296670177372f5e3c07f40e73806546f7c28a12a3ba5a3b735994dcaeacb8da59f5e3561ab6b061cedd77757cf58686907d32b1a7162a firmware-xiaomi-onclite-5ab4968ab12acb60a5e165008fdf25345e80c309.tar.gz
|
|
|
|
"
|