From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-text/jabref-bin/jabref-bin-3.8.1.ebuild | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-text/jabref-bin/jabref-bin-3.8.1.ebuild (limited to 'app-text/jabref-bin/jabref-bin-3.8.1.ebuild') diff --git a/app-text/jabref-bin/jabref-bin-3.8.1.ebuild b/app-text/jabref-bin/jabref-bin-3.8.1.ebuild new file mode 100644 index 000000000000..73c9a8ac3519 --- /dev/null +++ b/app-text/jabref-bin/jabref-bin-3.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" +SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-arch/unzip" + +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}" + +src_unpack() { + cp -v "${DISTDIR}/${A}" . || die + unzip ${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 +} -- cgit v1.2.3