24 lines
641 B
Bash
24 lines
641 B
Bash
# Template file for 'jadx'
|
|
pkgname=jadx
|
|
version=1.5.1
|
|
revision=1
|
|
hostmakedepends="openjdk11 gradle"
|
|
short_desc="Decompiler for Dalvik bytecode"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/skylot/jadx"
|
|
distfiles="https://github.com/skylot/jadx/archive/v${version}.tar.gz"
|
|
checksum=8bf962d32a90b5b3447c1118a0db8a5186f0ddb4c83a4b2713ca72586a2fb6a3
|
|
|
|
do_build() {
|
|
gradle copyArtifacts
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share
|
|
vcopy build/jadx usr/share
|
|
vmkdir usr/bin
|
|
ln -s /usr/share/jadx/bin/jadx ${DESTDIR}/usr/bin/jadx
|
|
ln -s /usr/share/jadx/bin/jadx-gui ${DESTDIR}/usr/bin/jadx-gui
|
|
}
|