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
|
2024-03-27 20:07:33 +00:00
|
|
|
pkgrel=1
|
2023-08-15 18:32:31 +00:00
|
|
|
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"
|
|
|
|
|
2024-03-27 20:07:33 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2023-08-15 18:32:31 +00:00
|
|
|
|
|
|
|
package() {
|
2024-03-27 20:07:33 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2023-08-15 18:32:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
e95cf73b4a2e13c8ea3296670177372f5e3c07f40e73806546f7c28a12a3ba5a3b735994dcaeacb8da59f5e3561ab6b061cedd77757cf58686907d32b1a7162a firmware-xiaomi-onclite-5ab4968ab12acb60a5e165008fdf25345e80c309.tar.gz
|
|
|
|
"
|