jd-gui: fix issue #10

This commit is contained in:
blshkv 2015-09-26 08:33:58 +08:00
parent 88f65eaabf
commit 2fe99a534e
3 changed files with 7 additions and 51 deletions

View file

@ -1,2 +1 @@
DIST jd-gui-0.3.4.linux.i686.tar.gz 1087617 SHA256 de1f70aa0d98bc22b23996cdb2439d2c53804480dc6089dc684ca972b31f1364 SHA512 c14fe7d60cb81c1ed338f4af0ae63e5e1970b72792693322056a057d7b72b0d192f71e18d0366c4cc996ae609d538184db744bd03d62492d8ec68450ea71e77e WHIRLPOOL d690c0a6d94955f413dfc33c831a5fa7e08cd1a2fac5081b90b3b8db58fb204975a1c183505141bdf7edfd599dfd32b8dd4b656ecf487c3034d562089fabb597
DIST jd-gui-0.3.5.linux.i686.tar.gz 1087841 SHA256 1bb7b12a6072091a434eab98f3f041c1f1e81ec0eeb04022dede0ca485fe3b4b SHA512 17342891e5f7e84317a211429b2f9026284a74a095bfe85ca1053c4ba2eb6aa14675e0722ddb352199fe28c69416cb1c8107704a8364b624970b491a19092855 WHIRLPOOL e221c0699199a28230d1d086b6762ad818a31a4ab2cec701f7ff48f4c36816c274c6523ed95b06b663c98817810c18aaa07e7ea9dc88511bcf19e6252af7c87b

View file

@ -1,42 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit eutils multilib
DESCRIPTION="A standalone graphical utility that displays Java source codes of .class file"
HOMEPAGE="http://jd.benow.ca/"
SRC_URI="http://jd.benow.ca/jd-gui/downloads/jd-gui-${PV}.linux.i686.tar.gz"
LICENSE="Unknown"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RESTRICT="strip"
S=${WORKDIR}
#pkg_nofetch() {
# einfo "Please download ${P}.linux.i686.tar.gz"
# einfo "from ${HOMEPAGE} and place it in ${DISTDIR}"
#}
src_prepare() {
#remove gnome related stuff (nautilus)
rm -rf contrib
}
src_install() {
exeinto "/usr/bin"
doexe "${WORKDIR}/jd-gui"
dodoc readme.txt
}
pkg_postinst() {
einfo "JD-GUI is free for non-commercial use."
einfo "This means that JD-GUI shall not be included or embedded into commercial software products. "
einfo "Nevertheless, JD-GUI may be freely used for personal needs in a commercial or non-commercial environments."
ewarn "JD-GUI creates a jd-gui.cfg file in the current working directory."
ewarn "Make sure you run it in a directory you can remove afterwards"
}

View file

@ -1,26 +1,25 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI="4"
EAPI="5"
inherit eutils multilib
DESCRIPTION="A standalone graphical utility that displays Java source codes of .class file"
HOMEPAGE="http://jd.benow.ca/"
SRC_URI="http://jd.benow.ca/jd-gui/downloads/jd-gui-${PV}.linux.i686.tar.gz"
LICENSE="Unknown"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
RESTRICT="strip"
S=${WORKDIR}
DEPEND=""
RDEPEND="x11-libs/gtk+:2[abi_x86_32]"
#pkg_nofetch() {
# einfo "Please download ${P}.linux.i686.tar.gz"
# einfo "from ${HOMEPAGE} and place it in ${DISTDIR}"
#}
S="${WORKDIR}"
src_prepare() {
#remove gnome related stuff (nautilus)