diff options
author | Jonas Stein <jstein@gentoo.org> | 2016-12-22 16:19:31 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-12-22 17:02:32 +0100 |
commit | 8983e8a8822323c514dee8085a799c315177c640 (patch) | |
tree | 59e55ff0e681f49adab568915fdec93755e76d73 /app-text/jabref-bin/jabref-bin-3.8.ebuild | |
parent | mate-extra/mate-power-manager: remove unused patch (diff) | |
download | gentoo-8983e8a8822323c514dee8085a799c315177c640.tar.gz gentoo-8983e8a8822323c514dee8085a799c315177c640.tar.bz2 gentoo-8983e8a8822323c514dee8085a799c315177c640.zip |
app-text/jabref-bin: version bump to 3.8.
Closes: https://github.com/gentoo/gentoo/pull/3211
Diffstat (limited to 'app-text/jabref-bin/jabref-bin-3.8.ebuild')
-rw-r--r-- | app-text/jabref-bin/jabref-bin-3.8.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/jabref-bin/jabref-bin-3.8.ebuild b/app-text/jabref-bin/jabref-bin-3.8.ebuild new file mode 100644 index 000000000000..d632cc19f5bd --- /dev/null +++ b/app-text/jabref-bin/jabref-bin-3.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |