diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2016-10-04 05:46:26 -0600 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2016-10-04 05:46:53 -0600 |
commit | 91f4910c98ee65c8dff0ca69dbc66ae68149c364 (patch) | |
tree | 3d96b187cfe9aabe0ed22c8060b4f9b9d2a6cd64 /app-text/jabref-bin/jabref-bin-3.6.ebuild | |
parent | media-sound/playerctl: initial commit with version 0.5.0 (diff) | |
download | gentoo-91f4910c98ee65c8dff0ca69dbc66ae68149c364.tar.gz gentoo-91f4910c98ee65c8dff0ca69dbc66ae68149c364.tar.bz2 gentoo-91f4910c98ee65c8dff0ca69dbc66ae68149c364.zip |
app-text/jabref-bin: Version bump
(Bug 595994)
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/jabref-bin/jabref-bin-3.6.ebuild')
-rw-r--r-- | app-text/jabref-bin/jabref-bin-3.6.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-text/jabref-bin/jabref-bin-3.6.ebuild b/app-text/jabref-bin/jabref-bin-3.6.ebuild new file mode 100644 index 000000000000..a52e3987c897 --- /dev/null +++ b/app-text/jabref-bin/jabref-bin-3.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils java-pkg-2 + +MY_PV_1="${PV/_beta/b}" +MY_PV="${MY_PV_1/_rc/}" +MY_URI_PV_1="${PV/rc/}" +MY_URI_PV="${MY_URI_PV_1//_/%20}" + +DESCRIPTION="Java GUI for managing BibTeX and other bibliographies" +HOMEPAGE="http://www.jabref.org/" +SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=virtual/jre-1.8 +" + +S="${WORKDIR}" + +src_unpack() { + cp -v "${DISTDIR}/${A}" . || die + jar xf ${A} images/icons/JabRef-icon-48.png || die +} + +src_install() { + java-pkg_newjar "JabRef-${MY_PV}.jar" + java-pkg_dolauncher "${PN}" --jar "${PN}.jar" + newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png + make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office +} |