mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
jd-gui-bin: restore -bin
This commit is contained in:
parent
dc0e03b1c2
commit
5ba1f511e0
4 changed files with 56 additions and 0 deletions
1
dev-util/jd-gui-bin/Manifest
Normal file
1
dev-util/jd-gui-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST jd-gui-1.6.6.jar 3238491 BLAKE2B 478fa30abd5ae11385f7020ce1ac2e48d1b9e3f175b71660293f41b239c65225a2e2fe130c10a66a1a7446a4ac7d2e7d0fcccec68176b19aec14be729a6e6969 SHA512 ac05eade3bc70ac72fe92d52f178a4a8a028f00430fa709bcbd4e43564589339e731eb2111c9ef64c0bed26f2edbb510afafc73a4891d0bd018e813539ac1227
|
||||
7
dev-util/jd-gui-bin/files/jd-gui.desktop
Normal file
7
dev-util/jd-gui-bin/files/jd-gui.desktop
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Comment=Java Decompiler JD-GUI
|
||||
Terminal=false
|
||||
Name=JD-GUI
|
||||
Exec=java -jar /opt/jd-gui/jd-gui.jar
|
||||
Type=Application
|
||||
Icon=jd-gui
|
||||
BIN
dev-util/jd-gui-bin/files/jd_icon_128.png
Normal file
BIN
dev-util/jd-gui-bin/files/jd_icon_128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
48
dev-util/jd-gui-bin/jd-gui-bin-1.6.6.ebuild
Normal file
48
dev-util/jd-gui-bin/jd-gui-bin-1.6.6.ebuild
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="jd-gui"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="A standalone Java Decompiler GUI"
|
||||
HOMEPAGE="http://jd.benow.ca/"
|
||||
SRC_URI="https://github.com/java-decompiler/jd-gui/releases/download/v${PV}/${MY_P}.jar"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/jre"
|
||||
DEPEND="${RDEPEND}
|
||||
!dev-util/jd-gui"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
dodir "${S}"
|
||||
cp -L "${DISTDIR}/${A}" "${S}/" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/"${MY_PN}"
|
||||
insinto /opt/"${MY_PN}"
|
||||
doins "${MY_P}.jar"
|
||||
|
||||
doicon "${FILESDIR}/jd_icon_128.png"
|
||||
domenu "${FILESDIR}/jd-gui.desktop"
|
||||
|
||||
# echo -e "#!/bin/sh\njava -jar /opt/${MY_PN}/${MY_P}.jar >/dev/null 2>&1 &\n" > "${MY_PN}"
|
||||
# dobin "${MY_PN}"
|
||||
|
||||
newbin - ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
|
||||
java -jar /opt/${MY_PN}/${MY_P}.jar >/dev/null 2>&1 &
|
||||
EOF
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue