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, 20 Feb 2011 18:56:21
Message-Id: 1234bffd2d4c19a1ca60de9b009e6067186ac0c1.winterheart@gentoo
1 commit: 1234bffd2d4c19a1ca60de9b009e6067186ac0c1
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 20 18:55:39 2011 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sun Feb 20 18:55:39 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=1234bffd
7
8 [games-strategy/revenge-of-the-titans] Version for HIB package (1.80.4).
9 Supported versions for amd64 and x86.
10 Enjoy with your Titans!!
11
12 (Portage version: 2.1.9.25/git/Linux x86_64, unsigned Manifest commit)
13
14 ---
15 games-strategy/revenge-of-the-titans/metadata.xml | 12 +++++
16 .../revenge-of-the-titans-1.80.4.ebuild | 44 ++++++++++++++++++++
17 2 files changed, 56 insertions(+), 0 deletions(-)
18
19 diff --git a/games-strategy/revenge-of-the-titans/metadata.xml b/games-strategy/revenge-of-the-titans/metadata.xml
20 new file mode 100644
21 index 0000000..b8fe539
22 --- /dev/null
23 +++ b/games-strategy/revenge-of-the-titans/metadata.xml
24 @@ -0,0 +1,12 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 +<herd>no-herd</herd>
29 +<maintainer>
30 +<email>azamat.hackimov@×××××.com</email>
31 +<name>Azamat H. Hackimov</name>
32 +</maintainer>
33 +<longdescription lang="en">
34 +Defeat the returning Titan horde in a series of epic ground battles.
35 +</longdescription>
36 +</pkgmetadata>
37
38 diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.4.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.4.ebuild
39 new file mode 100644
40 index 0000000..737263c
41 --- /dev/null
42 +++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.4.ebuild
43 @@ -0,0 +1,44 @@
44 +# Copyright 1999-2011 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Header: $
47 +
48 +EAPI=2
49 +
50 +inherit games java-pkg-2 versionator
51 +
52 +MY_PN=revengeofthetitans
53 +MY_PV=$(delete_all_version_separators)
54 +
55 +DESCRIPTION="Defeat the returning Titan horde in a series of epic ground
56 +battles."
57 +HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/"
58 +SRC_URI="amd64? ( RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz )
59 + x86? ( RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz )"
60 +
61 +LICENSE="as-is"
62 +SLOT="0"
63 +KEYWORDS="-* ~amd64 ~x86"
64 +IUSE=""
65 +
66 +RDEPEND=">=virtual/jre-1.6
67 + virtual/opengl"
68 +DEPEND=""
69 +
70 +RESTRICT="mirror strip"
71 +
72 +dir="${GAMES_PREFIX_OPT}/${MY_PN}"
73 +S="${WORKDIR}/${MY_PN}"
74 +
75 +src_install() {
76 + insinto "${dir}"
77 + doins *.jar || die "doins jar"
78 +
79 + exeinto "${dir}"
80 + doexe *.so revenge.sh || die "doexe"
81 +
82 + games_make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}"
83 + doicon revenge.png
84 + make_desktop_entry ${PN} "Revenge of the Titans" revenge
85 +
86 + prepgamesdirs
87 +}