# Template file for 'Apktool' pkgname=Apktool version=2.12.0 revision=1 hostmakedepends="openjdk11 gradle" depends="virtual?java-runtime" short_desc="Tool for reverse engineering Android apk files" maintainer="Bnyro " 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=d87a589778d4369362a99c83a67ca3d365891395aba1be1b85dbf04e72cd3298 do_build() { # test task disabled, see https://github.com/iBotPeaches/Apktool/issues/3901 gradle --no-daemon build shadowJar --exclude-task test } 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 }