version bump (bug #561712)
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 28 Sep 2015 20:44:20 +0000 (16:44 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 28 Sep 2015 20:44:35 +0000 (16:44 -0400)
Package-Manager: portage-2.2.20.1

games-board/domination/Manifest
games-board/domination/domination-1.1.1.6.ebuild [new file with mode: 0644]

index 3d3e3fdff812feefe8979957d809cd2bb6479430..c9b2821b935e86225f1faac0b05693e642e3acf5 100644 (file)
@@ -1 +1,2 @@
 DIST Domination_1.1.1.5.zip 6390032 SHA256 6e0dd1c869679cc80c7904d6512cf9f6fc858a985b60c5a33f3f3291d716f740 SHA512 116d96aded29f60e71eacc8069c6b9ad3b2e8b7e44ed06c730cdaf8e1de4b95650e928e1876feb6bcb08697cd6eaedf1529cf323855e2da652855d07e8337360 WHIRLPOOL cd3de0950075f6330931f0847bd048d9919afc6009bfe99b7f3f6bed09a1b7ade30ad918af23139db2b15baacfe79845d3ce75c42463c5aa59603d141639b251
+DIST Domination_1.1.1.6.zip 6567410 SHA256 90f8ec827137f738eafa32489a979eaa86683a0df0c3839f3e1626c0cf23f3d6 SHA512 46f4499f285f86cf94914ef62b25a52aa3b9848721c24900ec172f9b41d846dab07e288c564321486d451caee6049b4f4cb0ab475e378aa6df670e656b5b1fe6 WHIRLPOOL 38781c79c33319b41568ea4bf476a28b203d99b2ba8cfb62088cb48f3aa11ef63596f7a0936cfe9c1b22cc1fed1b583c1b8f2ccc7d85c607584f7d6f192f78ce
diff --git a/games-board/domination/domination-1.1.1.6.ebuild b/games-board/domination/domination-1.1.1.6.ebuild
new file mode 100644 (file)
index 0000000..3c370a7
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils java-pkg-2 java-ant-2 games
+
+DESCRIPTION="The well-known board game, written in java"
+HOMEPAGE="http://domination.sourceforge.net"
+SRC_URI="mirror://sourceforge/domination/Domination_${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+       app-arch/unzip"
+
+S=${WORKDIR}/Domination
+
+pkg_setup() {
+       games_pkg_setup
+       java-pkg-2_pkg_setup
+}
+
+EANT_BUILD_TARGET="game"
+
+src_compile() {
+       java-pkg-2_src_compile
+}
+
+src_install() {
+       newgamesbin "${S}"/FlashGUI.sh ${PN}
+       sed -i \
+               -e "s|cd.*|cd \"${GAMES_DATADIR}\"/${PN}|" \
+               "${D}${GAMES_BINDIR}"/${PN} \
+               || die
+       chmod +x "${D}${GAMES_BINDIR}"/${PN} || die
+
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins -r "${S}"/*
+       rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die
+       java-pkg_regjar "${D}/${GAMES_DATADIR}/${PN}"/*.jar
+
+       newicon resources/icon.png ${PN}.png
+       make_desktop_entry ${PN} "Domination"
+
+       prepgamesdirs
+}