1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00

testing/android-apktool: new aport

This commit is contained in:
ptrcnull 2021-09-22 12:24:34 +02:00 committed by Leo
parent e428104ce9
commit 23f18a2bcb
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=android-apktool
pkgver=2.5.0
pkgrel=0
pkgdesc="Tool for reverse engineering Android apk files"
url="https://ibotpeaches.github.io/Apktool/"
arch="all !x86 !armhf !armv7 !mips64 !riscv64"
# disabled due to openjdk11 limitations
license="Apache-2.0"
depends="openjdk11-jre-headless"
source="https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_$pkgver.jar
apktool"
options="!check"
# no tests available
package() {
install -Dm644 "$srcdir"/apktool_$pkgver.jar "$pkgdir"/usr/share/apktool/apktool.jar
install -Dm755 "$srcdir"/apktool "$pkgdir"/usr/bin/apktool
}
sha512sums="
40010672cca6df6d13763d371ede6c2b5d1a018242235fe727ca2aa561c6a92b99f08f97e4195ad76b13124521e24a49e450a653d78ad0bac693fb56e7d27b50 apktool_2.5.0.jar
8cb0d693996fe5a3df2f49120336962bc4d36ad6540744b6bc53dd1c03cc2b34e339f3749804abd9c054510b7093da77b18e77e886795c4f6b2206c64ea0247e apktool
"

View file

@ -0,0 +1,3 @@
#!/bin/sh
/usr/lib/jvm/java-11-openjdk/bin/java -jar /usr/share/apktool/apktool.jar "$@"