summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-05-29 21:46:33 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-05-29 21:46:33 +0000
commit83e832ba48457bcd28b04b5d160f6d48af8e21f1 (patch)
tree3f93dfb5fed6016d4ef8b5c03e78fb33283fccb1 /games-puzzle/pauker
parentalpha stable wrt #175560 (diff)
downloadgentoo-2-83e832ba48457bcd28b04b5d160f6d48af8e21f1.tar.gz
gentoo-2-83e832ba48457bcd28b04b5d160f6d48af8e21f1.tar.bz2
gentoo-2-83e832ba48457bcd28b04b5d160f6d48af8e21f1.zip
Version bump, bug #180243
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-puzzle/pauker')
-rw-r--r--games-puzzle/pauker/ChangeLog7
-rw-r--r--games-puzzle/pauker/files/digest-pauker-1.7.33
-rw-r--r--games-puzzle/pauker/files/digest-pauker-1.7.53
-rw-r--r--games-puzzle/pauker/pauker-1.7.3.ebuild29
-rw-r--r--games-puzzle/pauker/pauker-1.7.5.ebuild56
5 files changed, 65 insertions, 33 deletions
diff --git a/games-puzzle/pauker/ChangeLog b/games-puzzle/pauker/ChangeLog
index bfd65332a861..001255534b8d 100644
--- a/games-puzzle/pauker/ChangeLog
+++ b/games-puzzle/pauker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/pauker
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.15 2007/03/09 07:41:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.16 2007/05/29 21:46:33 nyhm Exp $
+
+*pauker-1.7.5 (29 May 2007)
+
+ 29 May 2007; Tristan Heaven <nyhm@gentoo.org> +pauker-1.7.5.ebuild:
+ Version bump, bug #180243
*pauker-1.7.4 (09 Mar 2007)
diff --git a/games-puzzle/pauker/files/digest-pauker-1.7.3 b/games-puzzle/pauker/files/digest-pauker-1.7.3
deleted file mode 100644
index f81ec42a29bb..000000000000
--- a/games-puzzle/pauker/files/digest-pauker-1.7.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8ad8a302cdfcde62482aa900df151f78 pauker-1.7.3.jar 3223986
-RMD160 7ba3eb645e1933d8c0a95cad694204920d15119b pauker-1.7.3.jar 3223986
-SHA256 08efb65254a851ae526010ab57d050b209a73647ee7cf37ff5922addc5c17fe7 pauker-1.7.3.jar 3223986
diff --git a/games-puzzle/pauker/files/digest-pauker-1.7.5 b/games-puzzle/pauker/files/digest-pauker-1.7.5
new file mode 100644
index 000000000000..076ebdea784a
--- /dev/null
+++ b/games-puzzle/pauker/files/digest-pauker-1.7.5
@@ -0,0 +1,3 @@
+MD5 311aa54c4e6e4ca2ca8f19768b001eac pauker-1.7.5.src.jar 1666625
+RMD160 d47e6343c41f4b82044cf11207aa428d333f0abb pauker-1.7.5.src.jar 1666625
+SHA256 a43da9b021994b409314d9dd395247c217799972f7816d964706e4cc17e8340d pauker-1.7.5.src.jar 1666625
diff --git a/games-puzzle/pauker/pauker-1.7.3.ebuild b/games-puzzle/pauker/pauker-1.7.3.ebuild
deleted file mode 100644
index f01b9378aff8..000000000000
--- a/games-puzzle/pauker/pauker-1.7.3.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.7.3.ebuild,v 1.1 2007/01/03 12:17:24 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"
-
-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
-}
diff --git a/games-puzzle/pauker/pauker-1.7.5.ebuild b/games-puzzle/pauker/pauker-1.7.5.ebuild
new file mode 100644
index 000000000000..0aeeb9f30cbb
--- /dev/null
+++ b/games-puzzle/pauker/pauker-1.7.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.7.5.ebuild,v 1.1 2007/05/29 21:46:33 nyhm Exp $
+
+inherit eutils java-pkg-2 games
+
+DESCRIPTION="A java based flashcard program"
+HOMEPAGE="http://pauker.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-java/browserlauncher2
+ =dev-java/lucene-2*
+ dev-java/javahelp
+ dev-java/swing-layout"
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4"
+RDEPEND="${RDEPEND}
+ >=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_compile() {
+ local cp
+ cp=$(java-pkg_getjars browserlauncher2-1.0,lucene-2,javahelp,swing-layout-1)
+
+ mkdir -p classes
+ ejavac -d classes -cp classes:${cp} $(find . -name '*.java')
+
+ jar cf ${PN}.jar -C classes . || die "jar failed"
+}
+
+src_install() {
+ java-pkg_jarinto "${GAMES_DATADIR}"/${PN}
+ java-pkg_dojar ${PN}.jar
+
+ java-pkg_dolauncher ${PN} \
+ -into "${GAMES_PREFIX}" \
+ --pwd "${GAMES_DATADIR}"/${PN} \
+ --main pauker.program.gui.swing.PaukerFrame
+
+ cd ${PN}
+ insinto "${GAMES_DATADIR}"/${PN}/${PN}
+ doins -r help icons sounds *.txt *.html Strings* || die "doins failed"
+
+ prepgamesdirs
+}