summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/pauker/pauker-1.6.1.ebuild')
-rw-r--r--games-puzzle/pauker/pauker-1.6.1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/games-puzzle/pauker/pauker-1.6.1.ebuild b/games-puzzle/pauker/pauker-1.6.1.ebuild
new file mode 100644
index 000000000000..f6b7456e91a0
--- /dev/null
+++ b/games-puzzle/pauker/pauker-1.6.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.6.1.ebuild,v 1.1 2005/12/13 07:37:32 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A java based flashcard program"
+HOMEPAGE="http://pauker.sourceforge.net"
+SRC_URI="mirror://sourceforge/pauker/${P}.jar"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ virtual/x11"
+
+src_unpack() {
+ mkdir -p "${S}"
+ cp "${DISTDIR}/${P}.jar" "${S}" || die "cp failed"
+}
+
+src_install() {
+ local jar="pauker.jar"
+ insinto "${GAMES_PREFIX_OPT}/${PN}"
+ newins "${P}.jar" ${jar} || die "newins failed"
+ games_make_wrapper ${PN} "java -jar ./${jar}" "${GAMES_PREFIX_OPT}/${PN}"
+ prepgamesdirs
+}