summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2015-06-25 12:26:59 +0000
committerNicolas Bock <nicolasbock@gentoo.org>2015-06-25 12:26:59 +0000
commitc992b975f790f4117c6033ef03c6541a995142c7 (patch)
treee9c0b8d8312d223af128a0213aae5d025e689505 /app-text/jabref-bin
parentVersion bump. (diff)
downloadgentoo-2-c992b975f790f4117c6033ef03c6541a995142c7.tar.gz
gentoo-2-c992b975f790f4117c6033ef03c6541a995142c7.tar.bz2
gentoo-2-c992b975f790f4117c6033ef03c6541a995142c7.zip
Add desktop icon.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key AC91CA52)
Diffstat (limited to 'app-text/jabref-bin')
-rw-r--r--app-text/jabref-bin/ChangeLog8
-rw-r--r--app-text/jabref-bin/jabref-bin-2.11_beta_rc3-r1.ebuild36
2 files changed, 43 insertions, 1 deletions
diff --git a/app-text/jabref-bin/ChangeLog b/app-text/jabref-bin/ChangeLog
index 899d9f31bb5d..16e9ebf6a315 100644
--- a/app-text/jabref-bin/ChangeLog
+++ b/app-text/jabref-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/jabref-bin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref-bin/ChangeLog,v 1.4 2015/06/25 12:09:52 nicolasbock Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref-bin/ChangeLog,v 1.5 2015/06/25 12:26:59 nicolasbock Exp $
+
+*jabref-bin-2.11_beta_rc3-r1 (25 Jun 2015)
+
+ 25 Jun 2015; Nicolas Bock <nicolasbock@gentoo.org>
+ +jabref-bin-2.11_beta_rc3-r1.ebuild, jabref-bin-2.11_beta_rc3.ebuild:
+ Add desktop icon.
*jabref-bin-2.11_beta_rc3 (25 Jun 2015)
diff --git a/app-text/jabref-bin/jabref-bin-2.11_beta_rc3-r1.ebuild b/app-text/jabref-bin/jabref-bin-2.11_beta_rc3-r1.ebuild
new file mode 100644
index 000000000000..47972076be75
--- /dev/null
+++ b/app-text/jabref-bin/jabref-bin-2.11_beta_rc3-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref-bin/jabref-bin-2.11_beta_rc3-r1.ebuild,v 1.1 2015/06/25 12:26:59 nicolasbock Exp $
+
+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://jabref.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp -v "${DISTDIR}/${A}" . || die
+ jar xf ${A} images/JabRef-icon-48.png || die
+}
+
+src_install() {
+ java-pkg_newjar JabRef-${MY_PV}.jar
+ java-pkg_dolauncher ${PN} --jar ${PN}.jar
+ newicon images/JabRef-icon-48.png JabRef-bin-icon.png
+ make_desktop_entry ${PN} JabRef-bin JabRef-bin-icon Office
+}