magiskboot: new ptrcport

This commit is contained in:
ptrcnull 2022-06-01 18:52:52 +02:00
parent 3eeae38211
commit 2f6f62fb17
1 changed files with 26 additions and 0 deletions

26
magiskboot/APKBUILD Normal file
View File

@ -0,0 +1,26 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=magiskboot
pkgver=24.3
pkgrel=0
pkgdesc="Tool to unpack / repack Android boot images"
url="https://topjohnwu.github.io/Magisk/tools.html"
arch="aarch64 armv7 x86 x86_64"
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.zip::https://github.com/topjohnwu/Magisk/releases/download/v$pkgver/Magisk-v$pkgver.apk"
builddir="$srcdir"
options="!check" # precompiled shit
_arch="$CARCH"
case "$CARCH" in
aarch64) _arch="arm64-v8a" ;;
armv7) _arch="armeabi-v7a" ;;
esac
package() {
install -Dm755 lib/$_arch/libmagiskboot.so "$pkgdir"/usr/bin/magiskboot
}
sha512sums="
03ad8a4a46ca362bbf68e608172ebcbabbacc8158511a85a7cc123daeaf6d4d7896d469a6af4ad1b74fdb091ffdaf626f6c38fdf329078512e03be7a667035ae magiskboot-24.3.zip
"