diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2016-05-16 17:53:22 +0200 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2016-05-16 17:53:43 +0200 |
commit | 153cfed22df52a010db58380466629f2da573c17 (patch) | |
tree | 2f93e38caba4ac501afbd25d2ed528e31238c470 /app-text/jabref-bin/jabref-bin-3.3.ebuild | |
parent | sys-devel/binutils-apple: add ppc support and updates for testing, bug #582782 (diff) | |
download | gentoo-153cfed22df52a010db58380466629f2da573c17.tar.gz gentoo-153cfed22df52a010db58380466629f2da573c17.tar.bz2 gentoo-153cfed22df52a010db58380466629f2da573c17.zip |
app-text/jabref-bin: Version bump
Still leaving this at EAPI 5. The next version bump will hopefully be EAPI 6.
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-text/jabref-bin/jabref-bin-3.3.ebuild')
-rw-r--r-- | app-text/jabref-bin/jabref-bin-3.3.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-text/jabref-bin/jabref-bin-3.3.ebuild b/app-text/jabref-bin/jabref-bin-3.3.ebuild new file mode 100644 index 000000000000..86add2dd9749 --- /dev/null +++ b/app-text/jabref-bin/jabref-bin-3.3.ebuild @@ -0,0 +1,36 @@ +# 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 >=virtual/jdk-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 +} |