jabref-bin-2.10.ebuild 603 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils java-pkg-2
  5. MY_PV_1="${PV/_beta/b}"
  6. MY_PV="${MY_PV_1/_rc/}"
  7. DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
  8. HOMEPAGE="http://jabref.sourceforge.net/"
  9. SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="amd64 x86"
  13. RDEPEND=">=virtual/jre-1.6"
  14. S="${WORKDIR}"
  15. src_unpack() {
  16. cp -v "${DISTDIR}/${A}" . || die
  17. }
  18. src_install() {
  19. java-pkg_newjar JabRef-${MY_PV}.jar
  20. java-pkg_dolauncher ${PN} --jar ${PN}.jar
  21. }