New package: Apktool-2.10.0

This commit is contained in:
Bnyro 2024-12-31 13:17:40 +01:00 committed by Duncan Overbruck
parent f3b1a33b19
commit 5c1d3b9df3
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/java -jar '/usr/share/Apktool/Apktool.jar' "$@"

24
srcpkgs/Apktool/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'Apktool'
pkgname=Apktool
version=2.10.0
revision=1
hostmakedepends="openjdk11 gradle"
depends="virtual?java-runtime"
short_desc="Tool for reverse engineering Android apk files"
maintainer="Bnyro <bnyro@tutanota.com>"
license="Apache-2.0"
homepage="https://apktool.org"
changelog="https://github.com/iBotPeaches/Apktool/releases"
distfiles="https://github.com/iBotPeaches/Apktool/archive/refs/tags/v${version}.tar.gz"
checksum=054e4476ec732953c1cf9254d65d37f6dfffaceb0ddc977713926059dcfb5f9c
do_build() {
gradle build shadowJar
}
do_install() {
vmkdir usr/share/Apktool
vinstall brut.apktool/apktool-cli/build/libs/apktool-cli.jar 644 usr/share/Apktool Apktool.jar
vbin ${FILESDIR}/Apktool
}