diff --git a/testing/android-apktool/APKBUILD b/testing/android-apktool/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..bf1c4c7873ec203aedf9d5df57ba7693980f1383 --- /dev/null +++ b/testing/android-apktool/APKBUILD @@ -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 +" diff --git a/testing/android-apktool/apktool b/testing/android-apktool/apktool new file mode 100644 index 0000000000000000000000000000000000000000..c75fd969c864aa3e3fea01dbb3258e523c85b869 --- /dev/null +++ b/testing/android-apktool/apktool @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/lib/jvm/java-11-openjdk/bin/java -jar /usr/share/apktool/apktool.jar "$@"