summaryrefslogtreecommitdiff
path: root/games-board/domination
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/domination')
-rw-r--r--games-board/domination/Manifest6
-rw-r--r--games-board/domination/domination-1.1.1.6-r1.ebuild47
-rw-r--r--games-board/domination/domination-1.1.1.6.ebuild50
-rw-r--r--games-board/domination/metadata.xml11
4 files changed, 114 insertions, 0 deletions
diff --git a/games-board/domination/Manifest b/games-board/domination/Manifest
new file mode 100644
index 000000000000..a663735b8bf9
--- /dev/null
+++ b/games-board/domination/Manifest
@@ -0,0 +1,6 @@
+DIST Domination_1.1.1.6.zip 6567410 SHA256 90f8ec827137f738eafa32489a979eaa86683a0df0c3839f3e1626c0cf23f3d6 SHA512 46f4499f285f86cf94914ef62b25a52aa3b9848721c24900ec172f9b41d846dab07e288c564321486d451caee6049b4f4cb0ab475e378aa6df670e656b5b1fe6 WHIRLPOOL 38781c79c33319b41568ea4bf476a28b203d99b2ba8cfb62088cb48f3aa11ef63596f7a0936cfe9c1b22cc1fed1b583c1b8f2ccc7d85c607584f7d6f192f78ce
+EBUILD domination-1.1.1.6-r1.ebuild 981 SHA256 d016394cc3a6dbd11d04daa8e68d718fd8a7140cf42617ad2448a234bb283b4b SHA512 76eecb9f95131f351ef5440d5c942c49c9c58f32fc21a99f842a66f00799b51bfd41ebfee0fb7bd217db0f31a2c8cdcec4fd60d082110a45b16a920a01503720 WHIRLPOOL 531fa278bee5edcc773ce60b18acb0f6c3700d52268775daab56f069ed786effa0e5a1b9febb14fc080cfd9d58802720981507f3150b2b096d0f936276e01327
+EBUILD domination-1.1.1.6.ebuild 1061 SHA256 8fe958905cef4702bbd0af82166662707a201222932b94a32808f6300fc7c095 SHA512 5845c2d786318102a7ec9d11467478344bb575d61cfdf9cc5d37568ce505dee9e2886065481e700212710f1a39031a3fef21d95de120724136d3426249b71d84 WHIRLPOOL c33f8ac36ad7b2812a10090ca1fd5fef8c234ee8cc1bfa708e5e3ca8d792b16d31cf558872b725bf8a86a19e0926a95920a6ffd55532eb1ef91aabca3a055db3
+MISC ChangeLog 3403 SHA256 3786db3188142d907998706c20bd98fffc3b9db8bc965985991a8637021c9cb6 SHA512 b1e08eaba829b387e286ece0222c9cfc329cdbfbe1de77c74460e23c45d32d4a0d994df43038f542f69f9b4033afc165f2e56aa52c3d6321cc2369139392b71b WHIRLPOOL aaeeb7969dc91dda323f978e5e7fbbf74125b5678b4232c966851caf23a7667e10c9a58f4e24b148b56ccc65596c732ad53ba8bd7324f2bcf7f58e1740d4a093
+MISC ChangeLog-2015 2830 SHA256 b4415dbb7b8d84f7fac2e638e9cd48e104b92ac7f101d27d20c326692a79b760 SHA512 18ca9ff36360e2fc5a774b3451e7790986bfec6f340b254e114625e26024bda9573a3bdb8966e975a3e18571a9862e1ad32a040c0ce9b759bd11b0ec5263ea06 WHIRLPOOL 3bf1b7c8a4f0f6da73e66cca6dd500189ad8400575cb5af64383fea4a83c8b4342d894e5c3bc327b8b8695cb4508f0237d01e071e92e48099154ccf78036d18e
+MISC metadata.xml 333 SHA256 6140ae30d9384093bf09042f0818217c8725a43dc17fb5390935b85005d05894 SHA512 1ced4b2460bea74b56f982156c0088c43f26ae33459771ceb6cf904e8957a4c3bb46c16dbd3de20d9aa9b3b816aeb3e1a741b74a1f246e823d17ae78cb6cca24 WHIRLPOOL ad1d43f738fb67bd4a06eb5b2e271ed9db228f897b4f3c83e3521b79cef6938913955e5412701e407d0a2624fdd4abfd8f26c1efd04aa4185dca7fa11258edfc
diff --git a/games-board/domination/domination-1.1.1.6-r1.ebuild b/games-board/domination/domination-1.1.1.6-r1.ebuild
new file mode 100644
index 000000000000..75932d0ed60d
--- /dev/null
+++ b/games-board/domination/domination-1.1.1.6-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils java-pkg-2 java-ant-2
+
+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
+
+EANT_BUILD_TARGET="game"
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ newbin "${S}"/FlashGUI.sh ${PN}
+ sed -i \
+ -e "s|cd.*|cd \"/usr/share\"/${PN}|" \
+ "${D}/usr/bin"/${PN} \
+ || die
+ chmod +x "${D}/usr/bin"/${PN} || die
+
+ insinto "/usr/share/${PN}"
+ doins -r "${S}"/*
+ rm -f "${D}/usr/share"/${PN}/*.cmd || die
+ java-pkg_regjar "${D}//usr/share/${PN}"/*.jar
+
+ newicon resources/icon.png ${PN}.png
+ make_desktop_entry ${PN} "Domination"
+}
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
index 000000000000..079a500bb656
--- /dev/null
+++ b/games-board/domination/domination-1.1.1.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/games-board/domination/metadata.xml b/games-board/domination/metadata.xml
new file mode 100644
index 000000000000..a3bf00dd794f
--- /dev/null
+++ b/games-board/domination/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">domination</remote-id>
+ </upstream>
+</pkgmetadata>