Files
pmaports-rtwo/device/community/firmware-xiaomi-sweet/APKBUILD
T
Aelin 67f18e1fc0 */*: update my name and email
[ci:ignore-count]: intended
[ci:skip-build]: all patches still apply, no functional changes

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7721>
2026-01-11 18:52:28 +01:00

29 lines
1.0 KiB
Bash

# Maintainer: Aelin <aelin@postmarketos.org>
pkgname=firmware-xiaomi-sweet
pkgver=1
pkgrel=1
pkgdesc="Firmware for Xiaomi Redmi Note 10 Pro"
url="https://github.com/sm7150-mainline/firmware-xiaomi-sweet"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="c9cd844772a61e3249895a355ac17a1c7ca1d5ee"
source="
$pkgname-$_commit.tar.gz::$url/archive/$_commit/$pkgname-$_commit.tar.gz
30-initramfs-$pkgname.files
"
builddir="$srcdir/$pkgname-$_commit"
package() {
find . -type f -exec install -Dm644 {} "$pkgdir"/{} \;
install -Dm644 "$srcdir/30-initramfs-$pkgname.files" -t \
"$pkgdir"/usr/share/mkinitfs/files
}
sha512sums="
69323a64be00174380b3b5365e596c80eb4345bfb785e059e790b19960f53d0163fa18c1fda53f42bebb0cc1f7a9bb6c246fcb213622f289d78fc3418ce95781 firmware-xiaomi-sweet-c9cd844772a61e3249895a355ac17a1c7ca1d5ee.tar.gz
e7760a4d36cbde2c61439953e54bdd71ba63dd26e8d587ac7176282b26feef3fafb764378c8f2b1a6fcdd717534b6c0e1123092a8338a56bbf3efbfb17330573 30-initramfs-firmware-xiaomi-sweet.files
"