mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
jadx-bin: 1.1.0 bump
This commit is contained in:
parent
5e8ca0c087
commit
c2f4fc7a71
2 changed files with 41 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST jadx-1.0.0.zip 14865408 BLAKE2B 105396172fa4bb7fcfed4425cafc044f34d08fb05222a71e1e9bb5f442d0fd35877c9c278450149d2f8205b7d0522ccc71cbeefe7adf0e858ff3bf9ee944d5d0 SHA512 0638c67723a94f125242013acd5c15ac329e81a6ffa3504f733f92d7d6a083350374bf058091b96c195e29d56582212c0c0759f3c3eb4123c0f8acf765e4446a
|
||||
DIST jadx-1.1.0.zip 15014403 BLAKE2B 649d8e896f5193b9fd998e76f9fdbaecf0c552c098722b64768362a41d3699cc65937733d3693acd6fa1a1c35160d558d08e28476493af0e1e8f60ec55e92bfc SHA512 4fd93051cc9e6f5f7a424517d924c0e1b2f7717b815fded2f9a77825deb42bb7108afc5fb784a9ef42503825cdad6ae8868f46bc30be69116b2334ae5498489e
|
||||
|
|
|
|||
40
dev-util/jadx-bin/jadx-bin-1.1.0.ebuild
Normal file
40
dev-util/jadx-bin/jadx-bin-1.1.0.ebuild
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="jadx"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A standalone graphical utility that displays Java source codes of .class file"
|
||||
HOMEPAGE="https://github.com/skylot/jadx"
|
||||
SRC_URI="https://github.com/skylot/jadx/releases/download/v${PV}/${MY_P}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="virtual/jre"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's|APP_HOME="`pwd -P`"|APP_HOME="/opt/jadx-bin/"|' -i bin/${MY_PN} || die "sed failed"
|
||||
sed -e 's|APP_HOME="`pwd -P`"|APP_HOME="/opt/jadx-bin/"|' -i bin/${MY_PN}-gui || die "sed failed"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/"${PN}"
|
||||
insinto /opt/"${PN}"
|
||||
doins -r lib/
|
||||
|
||||
# doicon jd_icon_128.png
|
||||
# domenu jd-gui.desktop
|
||||
|
||||
# echo -e "#!/bin/sh\njava -jar /opt/${MY_PN}/${MY_P}.jar >/dev/null 2>&1 &\n" > "${MY_PN}"
|
||||
dobin "bin/${MY_PN}"
|
||||
dobin "bin/${MY_PN}-gui"
|
||||
}
|
||||
Loading…
Reference in a new issue