This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/magiskboot/APKBUILD

26 lines
827 B
Text

# 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
"