commit:     5cbf973742fbeb68a2b145d9631a1fa22804f677
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 21:25:02 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 13:21:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cbf9737

app-text/jabref-bin: version bump to 3.8.1.

Closes: https://github.com/gentoo/gentoo/pull/3260

 app-text/jabref-bin/Manifest                |  1 +
 app-text/jabref-bin/jabref-bin-3.8.1.ebuild | 39 +++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app-text/jabref-bin/Manifest b/app-text/jabref-bin/Manifest
index 7117bad..5b24777 100644
--- a/app-text/jabref-bin/Manifest
+++ b/app-text/jabref-bin/Manifest
@@ -7,4 +7,5 @@ DIST JabRef-3.3.jar 24456650 SHA256 
4c81e72a8585c800a3d5728f15ed2db425a48e14f089
 DIST JabRef-3.4.jar 24390719 SHA256 
0dbe96ea837ce35a624ddad65458916dee2245b12985b8612ae18b42429735de SHA512 
310993160888f31d0ad644b562a7f643abfca18c7c3479a7f24db5620ebbdc04f8285bbaa47f46964aab5b61308f337a334b05200214a1084e0def0c0d32f490
 WHIRLPOOL 
bfaab04c205306d519af71e455228d810065047ef16913e3b309c79274fe084d7aa88f865774d511dbf7d6bfee9bde536817a29bb15743876b6b777df86fd888
 DIST JabRef-3.6.jar 25421252 SHA256 
85792b7c7200b7a371e5fbcb4f996d63a0ab1963d3bc976f1b8670e7788f0e90 SHA512 
756f02fe76b9d04c6a6db149d8f9c6a3365be0922e2bd2af9fba0dd7bc88bbda7ce7843e862e295fc58c1d8c0c95c0d5dee88f024ce51405f09159c308880237
 WHIRLPOOL 
31dd53db79d850a2892d6092064765026f856dbc4035e8461e6a0950acb6ec79d471165c38cbe93a9c1692403585b000becacafaa74c5aa3021b15ed2bca3d5f
 DIST JabRef-3.7.jar 36702576 SHA256 
1475552e2956b7a94cbab7b6c8671fc391be0d42cfa1ece3aed75dd0a8c1ecf3 SHA512 
74ed9fcfa3e6e4a3facf588d8fa2d73374137d9796ba79aa9c97df6807348af5f5ca9b8670e8909d06847f8501c9a344e300172be444be9b2bd773cd4d6314c4
 WHIRLPOOL 
e482b83bdb7209a802868309cd27dc55f4e645b60a32b27f41cca05d4fb823e65ace0012fe80e9cb706337e8b867a28964680c683892d2508160c021890e9f97
+DIST JabRef-3.8.1.jar 36739725 SHA256 
8fa5f317a8be62c714dff6d88e3aa3fea5c3b6b1e59f20a221b87d72aa775a85 SHA512 
9241fb586da7bc6047dc6eb6e5b31800003bf31d6262033b54629e0c81856b56234a5c671ce7ab87d3b7332a70551c81c2275354e97607ad9f513686c5826780
 WHIRLPOOL 
90e692b9559b123c4a36694e3e1216ea207650c6073bed57ac9a7d45b27a53f409970a87c818b5129b7a53c7d936cc24570a8762fdec4bf31bf8c37e06567ea1
 DIST JabRef-3.8.jar 36714920 SHA256 
13bcfd10ab3d2dbe21dfad06ecf4dbf1cd08e4e1fe6a6a93293d844b4c5c3a98 SHA512 
15805d06c7a566b60c28035e0f9a1d525b68774395a618e43ed7fdcc053d21e61f5930c658155d2e4ff739821789f2f988ce6e9a5502bd5536ce0a672ee19854
 WHIRLPOOL 
289997ea41ea77f774034a32b08bb07739b8dc86e69892c611b38d7728d87936a0738d0fde1ccb7bac49b0960659c057093aff4ddb08583a8f788b19d5b2e0e6

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 00000000..a4e2b57
--- /dev/null
+++ b/app-text/jabref-bin/jabref-bin-3.8.1.ebuild
@@ -0,0 +1,39 @@
+# 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
+}

Reply via email to