2023-10-08 21:13:11 +00:00

26 lines
971 B
Plaintext

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=android-apktool
pkgver=2.9.0
pkgrel=0
pkgdesc="Tool for reverse engineering Android apk files"
url="https://ibotpeaches.github.io/Apktool/"
arch="all !x86 !armhf !armv7 !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="
9b08c60d8f39210da8693ac934eb5f4b36d243b8d03acf9c00e6dc6feda27dde1c1e4db7d4e3a20a4e3ef89088745f2fde0ccc4d4c43e8120649672bcfdaa434 apktool_2.9.0.jar
8cb0d693996fe5a3df2f49120336962bc4d36ad6540744b6bc53dd1c03cc2b34e339f3749804abd9c054510b7093da77b18e77e886795c4f6b2206c64ea0247e apktool
"