diff options
Diffstat (limited to 'games-board/jrisk')
-rw-r--r-- | games-board/jrisk/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/jrisk/files/digest-jrisk-1.0.9.2 | 3 | ||||
-rw-r--r-- | games-board/jrisk/jrisk-1.0.9.2.ebuild | 48 |
3 files changed, 58 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog index 936823b8cf19..801f8fcc8b6b 100644 --- a/games-board/jrisk/ChangeLog +++ b/games-board/jrisk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/jrisk # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.20 2007/08/17 07:29:52 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.21 2007/08/24 03:11:58 mr_bones_ Exp $ + +*jrisk-1.0.9.2 (24 Aug 2007) + + 24 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org> + +jrisk-1.0.9.2.ebuild: + version bump 17 Aug 2007; Christian Faulhammer <opfer@gentoo.org> jrisk-1.0.9.1.ebuild: stable x86, bug 188226 diff --git a/games-board/jrisk/files/digest-jrisk-1.0.9.2 b/games-board/jrisk/files/digest-jrisk-1.0.9.2 new file mode 100644 index 000000000000..1255228d9e71 --- /dev/null +++ b/games-board/jrisk/files/digest-jrisk-1.0.9.2 @@ -0,0 +1,3 @@ +MD5 14612d3572a17e954d3a77d6cff357c6 backup_of_Risk_1.0.9.2.zip 10558066 +RMD160 9340fbfd6a9f3eeda6c1de9709f53bee1967c93e backup_of_Risk_1.0.9.2.zip 10558066 +SHA256 a96fc2428774185558066dd4b16c75cd8b30244b3131ef34c2cfaf8a903004c8 backup_of_Risk_1.0.9.2.zip 10558066 diff --git a/games-board/jrisk/jrisk-1.0.9.2.ebuild b/games-board/jrisk/jrisk-1.0.9.2.ebuild new file mode 100644 index 000000000000..0ac11908e31b --- /dev/null +++ b/games-board/jrisk/jrisk-1.0.9.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/jrisk-1.0.9.2.ebuild,v 1.1 2007/08/24 03:11:58 mr_bones_ Exp $ + +inherit eutils java-pkg-2 java-ant-2 games + +DESCRIPTION="The well-known board game, written in java" +HOMEPAGE="http://jrisk.sourceforge.net" +SRC_URI="mirror://sourceforge/jrisk/backup_of_Risk_${PV}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip" + +S=${WORKDIR}/Risk + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +EANT_BUILD_TARGET="game" + +src_compile() { + java-pkg-2_src_compile +} + +src_install() { + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --main risk.ui.FlashGUI.MainMenu \ + --pwd "${GAMES_DATADIR}/${PN}" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r build/game/* || die "doins failed" + rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die + java-pkg_regjar "${D}/${GAMES_DATADIR}/${PN}"/*.jar + + newicon build/game/resources/risk.png ${PN}.png + make_desktop_entry ${PN} "Risk" + + prepgamesdirs +} |