mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
New package: Apktool-2.10.0
This commit is contained in:
parent
f3b1a33b19
commit
5c1d3b9df3
2 changed files with 27 additions and 0 deletions
3
srcpkgs/Apktool/files/Apktool
Normal file
3
srcpkgs/Apktool/files/Apktool
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/java -jar '/usr/share/Apktool/Apktool.jar' "$@"
|
24
srcpkgs/Apktool/template
Normal file
24
srcpkgs/Apktool/template
Normal 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
|
||||
}
|
Loading…
Add table
Reference in a new issue