summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jabref-bin')
-rw-r--r--app-text/jabref-bin/Manifest1
-rw-r--r--app-text/jabref-bin/jabref-bin-3.3.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-text/jabref-bin/Manifest b/app-text/jabref-bin/Manifest
index 3bfd58677c83..bf60974148d3 100644
--- a/app-text/jabref-bin/Manifest
+++ b/app-text/jabref-bin/Manifest
@@ -6,3 +6,4 @@ DIST JabRef-2.11b3.jar 16426897 SHA256 251192bc24448886bb62dbc5d01e0c68ee345c45d
DIST JabRef-2.11b4.jar 20366631 SHA256 4f715c5e8849167b234cec2edbf6c8e32f3eaab5b69ff672210746bdb0c9204d SHA512 28d57d75cbd197e9a2fd9307cfd1cac9f8b2a0855c440db2a06292770a068cf7eb67db1af31f7240f70ddd382b33c30cb10c1d4be7e53cfd302efc1671b6a2a3 WHIRLPOOL 6b90bd7668330fa1c41bf2622a3d48acaf98d1b3ae0e5174ec3e85ca12a12f56b6ec42887cda655bdb2863e69899a707eb2be7663dc27f53030315bd3c68da20
DIST JabRef-3.1.jar 20307649 SHA256 81adaa1b672535e7b64814b6ad8f6a00e8bcf0a82b0849ba4523e36cd440425d SHA512 aab648f19feecf64a9afe3e69092736c0c2c177ee3a6c0dc3a9a9a8cea6d5a0d24201abed7048e4b569b0f1bb4736c1ad75df056243293e7b82795f50eb16476 WHIRLPOOL 437744b7236249e342ccaba9b08164727017b4136246c04a73c824c0df91e9b9f6d0814294f110ab935fb60bcd60d70f921774dfced0375ea19afafe60451c22
DIST JabRef-3.2.jar 20246639 SHA256 5f3d18052019dd10475de6e8e1d3c900300cd7195d6e1e6262fab104d06abadb SHA512 db7c2cde0e1d858d14b80f7820a729cac97c74a442e65b18d7c8a7366dbc719bef14e652cf44f04256efffd9d42136e2c865347b3975a0450ec13ef4b3cf71c9 WHIRLPOOL 6cf53e25ce220750145282567cf4dbd11f6fcb7e90ae18d3cfafc3f2a001c3933ddcae6bfe33dcd9ee495719a795fdf2b313e872aab788176d038b2984888b39
+DIST JabRef-3.3.jar 24456650 SHA256 4c81e72a8585c800a3d5728f15ed2db425a48e14f08962d393e875721a32baa6 SHA512 9d5ed2ff35bccc3d45181be6a013b6c10f1859e63d98b4f5ab2d325a69abf107ea546b78609c9ca620bbf939857029be5d32b92a8eb25be6c526b6e15f41d24f WHIRLPOOL 71fd2fe538299bef3692adbf188277a946c2b0f7b41b5c0fdf9bc20ba8a68f34ce9190109deab0a4f804f6b2e329b33731a9df281544c18dd01758a254bb4178
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
+}