aports/testing/android-apktool/APKBUILD
2025-04-09 00:09:32 +00:00

25 lines
940 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=android-apktool
pkgver=2.11.1
pkgrel=0
pkgdesc="Tool for reverse engineering Android apk files"
url="https://apktool.org/"
arch="all !x86 !armhf !armv7 !riscv64" # blocked by openjdk11
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="
b76618f5481ad070f5a5345c78fbce17bdf6c17c91cdf73d00a6c229de8ecb12270681eaecdebc089762e5277f1d8cb784f63824e1d105afecfc431a12897e5f apktool_2.11.1.jar
8cb0d693996fe5a3df2f49120336962bc4d36ad6540744b6bc53dd1c03cc2b34e339f3749804abd9c054510b7093da77b18e77e886795c4f6b2206c64ea0247e apktool
"