pmaports/device/community/firmware-xiaomi-ysl/APKBUILD

27 lines
883 B
Text
Raw Normal View History

# Maintainer: Barnabas Czeman <trabarni@gmail.com>
2023-06-26 23:22:50 +00:00
pkgname=firmware-xiaomi-ysl
pkgver=3
pkgrel=1
2023-06-26 23:22:50 +00:00
pkgdesc="Firmware files for Xiaomi Redmi S2/Y2"
url="https://gitlab.com/barni2000/$pkgname"
2023-06-26 23:22:50 +00:00
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
_commit="ccfd274b825aec2d80e834b16499a6d9ba96c3f5"
2023-06-26 23:22:50 +00:00
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/lib/firmware/postmarketos"
2023-06-26 23:22:50 +00:00
_fwdir="/lib/firmware/postmarketos"
2023-06-26 23:22:50 +00:00
package() {
# GPU Firmware files
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
2023-06-26 23:22:50 +00:00
}
sha512sums="
cd2d84dac3660fe554cba6d6d2ac0c6c7468cfd37bc443400ee1c2bc4a2ed3cb3e7120a413d7bed3c0bad2b5acb234599dd5a0f2e42f6696779c07c3e5c3c575 firmware-xiaomi-ysl-ccfd274b825aec2d80e834b16499a6d9ba96c3f5.tar.gz
2023-06-26 23:22:50 +00:00
"