void-packages/srcpkgs/jadx/template
Evgeny Ermakov 781c90868e jadx: update to 1.3.2.
Closes: #35291 [via git-merge-pr]
2022-02-01 17:46:56 -07:00

23 lines
640 B
Bash

# Template file for 'jadx'
pkgname=jadx
version=1.3.2
revision=1
hostmakedepends="openjdk8 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=065ea020365beaa39769b76991c4f3e8c3d26542ff8c28e4f9e93bdee9663672
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
}