1 |
commit: b39e2410025905723a133f99677a65bd90a67129 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 20:44:20 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 20:44:35 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39e2410 |
7 |
|
8 |
version bump (bug #561712) |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
games-board/domination/Manifest | 1 + |
13 |
games-board/domination/domination-1.1.1.6.ebuild | 51 ++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/games-board/domination/Manifest b/games-board/domination/Manifest |
17 |
index 3d3e3fd..c9b2821 100644 |
18 |
--- a/games-board/domination/Manifest |
19 |
+++ b/games-board/domination/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Domination_1.1.1.5.zip 6390032 SHA256 6e0dd1c869679cc80c7904d6512cf9f6fc858a985b60c5a33f3f3291d716f740 SHA512 116d96aded29f60e71eacc8069c6b9ad3b2e8b7e44ed06c730cdaf8e1de4b95650e928e1876feb6bcb08697cd6eaedf1529cf323855e2da652855d07e8337360 WHIRLPOOL cd3de0950075f6330931f0847bd048d9919afc6009bfe99b7f3f6bed09a1b7ade30ad918af23139db2b15baacfe79845d3ce75c42463c5aa59603d141639b251 |
22 |
+DIST Domination_1.1.1.6.zip 6567410 SHA256 90f8ec827137f738eafa32489a979eaa86683a0df0c3839f3e1626c0cf23f3d6 SHA512 46f4499f285f86cf94914ef62b25a52aa3b9848721c24900ec172f9b41d846dab07e288c564321486d451caee6049b4f4cb0ab475e378aa6df670e656b5b1fe6 WHIRLPOOL 38781c79c33319b41568ea4bf476a28b203d99b2ba8cfb62088cb48f3aa11ef63596f7a0936cfe9c1b22cc1fed1b583c1b8f2ccc7d85c607584f7d6f192f78ce |
23 |
|
24 |
diff --git a/games-board/domination/domination-1.1.1.6.ebuild b/games-board/domination/domination-1.1.1.6.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..3c370a7 |
27 |
--- /dev/null |
28 |
+++ b/games-board/domination/domination-1.1.1.6.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+inherit eutils java-pkg-2 java-ant-2 games |
36 |
+ |
37 |
+DESCRIPTION="The well-known board game, written in java" |
38 |
+HOMEPAGE="http://domination.sourceforge.net" |
39 |
+SRC_URI="mirror://sourceforge/domination/Domination_${PV}.zip" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
44 |
+IUSE="" |
45 |
+ |
46 |
+RDEPEND=">=virtual/jre-1.5" |
47 |
+DEPEND=">=virtual/jdk-1.5 |
48 |
+ app-arch/unzip" |
49 |
+ |
50 |
+S=${WORKDIR}/Domination |
51 |
+ |
52 |
+pkg_setup() { |
53 |
+ games_pkg_setup |
54 |
+ java-pkg-2_pkg_setup |
55 |
+} |
56 |
+ |
57 |
+EANT_BUILD_TARGET="game" |
58 |
+ |
59 |
+src_compile() { |
60 |
+ java-pkg-2_src_compile |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ newgamesbin "${S}"/FlashGUI.sh ${PN} |
65 |
+ sed -i \ |
66 |
+ -e "s|cd.*|cd \"${GAMES_DATADIR}\"/${PN}|" \ |
67 |
+ "${D}${GAMES_BINDIR}"/${PN} \ |
68 |
+ || die |
69 |
+ chmod +x "${D}${GAMES_BINDIR}"/${PN} || die |
70 |
+ |
71 |
+ insinto "${GAMES_DATADIR}/${PN}" |
72 |
+ doins -r "${S}"/* |
73 |
+ rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die |
74 |
+ java-pkg_regjar "${D}/${GAMES_DATADIR}/${PN}"/*.jar |
75 |
+ |
76 |
+ newicon resources/icon.png ${PN}.png |
77 |
+ make_desktop_entry ${PN} "Domination" |
78 |
+ |
79 |
+ prepgamesdirs |
80 |
+} |