Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/revenge-of-the-titans/
Date: Sun, 27 Feb 2011 23:01:14
Message-Id: efa9f777b7837b2343fa6ad8ff158c194431b4a9.winterheart@gentoo
1 commit: efa9f777b7837b2343fa6ad8ff158c194431b4a9
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 27 23:00:51 2011 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sun Feb 27 23:00:51 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=efa9f777
7
8 [games-strategy/revenge-of-the-titans] Version bump to 1.80.6
9
10 (Portage version: 2.1.9.25/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
11
12 ---
13 .../revenge-of-the-titans-1.80.6.ebuild | 55 ++++++++++++++++++++
14 1 files changed, 55 insertions(+), 0 deletions(-)
15
16 diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.6.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.6.ebuild
17 new file mode 100644
18 index 0000000..2774593
19 --- /dev/null
20 +++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.6.ebuild
21 @@ -0,0 +1,55 @@
22 +# Copyright 1999-2011 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Header: $
25 +
26 +EAPI=2
27 +
28 +inherit games java-pkg-2 versionator
29 +
30 +MY_PN=revengeofthetitans
31 +MY_PV=$(delete_all_version_separators)
32 +
33 +DESCRIPTION="Defeat the returning Titan horde in a series of epic ground
34 +battles."
35 +HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/"
36 +SRC_URI="amd64? ( RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz )
37 + x86? ( RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz )"
38 +
39 +LICENSE="as-is"
40 +SLOT="0"
41 +KEYWORDS="-* ~amd64 ~x86"
42 +IUSE=""
43 +
44 +RDEPEND=">=virtual/jre-1.6
45 + virtual/opengl"
46 +DEPEND=""
47 +
48 +RESTRICT="fetch strip"
49 +
50 +dir="${GAMES_PREFIX_OPT}/${MY_PN}"
51 +S="${WORKDIR}/${MY_PN}"
52 +
53 +pkg_nofetch() {
54 + if use amd64 ; then
55 + einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz"
56 + fi
57 + if use x86 ; then
58 + einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz"
59 + fi
60 + einfo "from your personal page in Humble Indie Bundle #2 site"
61 + einfo "(http://www.humblebundle.com) and place it in ${DISTDIR}"
62 +}
63 +
64 +src_install() {
65 + insinto "${dir}"
66 + doins *.jar || die "doins jar"
67 +
68 + exeinto "${dir}"
69 + doexe *.so revenge.sh || die "doexe"
70 +
71 + games_make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}"
72 + doicon revenge.png
73 + make_desktop_entry ${PN} "Revenge of the Titans" revenge
74 +
75 + prepgamesdirs
76 +}