summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-08-29 21:38:39 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-08-29 21:38:39 +0000
commit77e65d47a2596edf65e5b25a69e37b5675a29332 (patch)
tree1f395c45ef2c84aa66874c28ea340bfd8eff5969 /games-rpg
parentRemoved stale dep (diff)
downloadgentoo-2-77e65d47a2596edf65e5b25a69e37b5675a29332.tar.gz
gentoo-2-77e65d47a2596edf65e5b25a69e37b5675a29332.tar.bz2
gentoo-2-77e65d47a2596edf65e5b25a69e37b5675a29332.zip
New package, requested via bug #181732
(Portage version: 2.1.2.12)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/coe2/ChangeLog10
-rw-r--r--games-rpg/coe2/Manifest16
-rw-r--r--games-rpg/coe2/coe2-2007.ebuild53
-rw-r--r--games-rpg/coe2/files/digest-coe2-20073
-rw-r--r--games-rpg/coe2/metadata.xml20
5 files changed, 102 insertions, 0 deletions
diff --git a/games-rpg/coe2/ChangeLog b/games-rpg/coe2/ChangeLog
new file mode 100644
index 000000000000..f31c91e43593
--- /dev/null
+++ b/games-rpg/coe2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-rpg/coe2
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.1 2007/08/29 21:38:39 tupone Exp $
+
+*coe2-2007 (29 Aug 2007)
+
+ 29 Aug 2007; Tupone Alfredo <tupone@gentoo.org> +metadata.xml,
+ +coe2-2007.ebuild:
+ New package, requested via bug #181732 by Paul Bredbury
+
diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest
new file mode 100644
index 000000000000..74e247c62266
--- /dev/null
+++ b/games-rpg/coe2/Manifest
@@ -0,0 +1,16 @@
+DIST coe2_2007.zip 4937222 RMD160 654719d796676139944a9f2faa5ac88b2933abd7 SHA1 57ab97145b9a4459525d28ee98cd780eae29a4aa SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb
+EBUILD coe2-2007.ebuild 1339 RMD160 49b7fa46c5699c133dd32fe9581cf8247f6f1db2 SHA1 d754b1881091654eb971b7816c7677259c810ca6 SHA256 f8b108a945a90b251a48efd77456a176d750f37f1a6fd8044753a4d2593a30a6
+MD5 2bc2a4beee8d15b95de6d52ccff4d08c coe2-2007.ebuild 1339
+RMD160 49b7fa46c5699c133dd32fe9581cf8247f6f1db2 coe2-2007.ebuild 1339
+SHA256 f8b108a945a90b251a48efd77456a176d750f37f1a6fd8044753a4d2593a30a6 coe2-2007.ebuild 1339
+MISC ChangeLog 286 RMD160 14049c7b2404c14f699d2170189aeae67cb8de75 SHA1 3717c05a6a2ad99a75b956cba315dc8f80df84be SHA256 e2a84760252c60567554c52d29b4ff50f9e3170655f525e309f47eacbca57f9e
+MD5 793aac9f61dd7fa947693dff550d66ff ChangeLog 286
+RMD160 14049c7b2404c14f699d2170189aeae67cb8de75 ChangeLog 286
+SHA256 e2a84760252c60567554c52d29b4ff50f9e3170655f525e309f47eacbca57f9e ChangeLog 286
+MISC metadata.xml 1075 RMD160 e15f8bea0b33327d6b5e8634516687770776871c SHA1 b0bb1b362284dd19f9049a61d1b57fac7f6c3919 SHA256 39fed75945c357260cc9b8299f9b90c38d46848dfe0d959b9429a872f567b03b
+MD5 fa2540b63c4aa20623cb96c662d70fdc metadata.xml 1075
+RMD160 e15f8bea0b33327d6b5e8634516687770776871c metadata.xml 1075
+SHA256 39fed75945c357260cc9b8299f9b90c38d46848dfe0d959b9429a872f567b03b metadata.xml 1075
+MD5 3b18ed567d9cad85aec6496ae09349ad files/digest-coe2-2007 223
+RMD160 fb26d7060361cb07a53c4b8af0c58c527fef2434 files/digest-coe2-2007 223
+SHA256 4c18cf7c06ce9771b3c0594e2774089a1e7396019d9e7052a0e5aca9e55f61e8 files/digest-coe2-2007 223
diff --git a/games-rpg/coe2/coe2-2007.ebuild b/games-rpg/coe2/coe2-2007.ebuild
new file mode 100644
index 000000000000..7ca1bfc0aa5e
--- /dev/null
+++ b/games-rpg/coe2/coe2-2007.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/coe2-2007.ebuild,v 1.1 2007/08/29 21:38:39 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="Precursor to the Dominions series"
+HOMEPAGE="http://www.shrapnelgames.com/Illwinter/CoE2/"
+SRC_URI="http://download.shrapnelgames.com/downloads/${PN}_${PV}.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/coe
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm *.{dll,exe}
+ rm -r old
+ use amd64 && mv -f coe_linux64bit coe_linux || die "mv amd64 image failed"
+}
+
+src_install() {
+ insinto "${GAMES_PREFIX_OPT}/${PN}"
+ doins *.{bgm,smp,trp,trs,wrl} || die " doins failed"
+ dodoc history.txt manual.txt readme.txt
+ exeinto "${GAMES_PREFIX_OPT}/${PN}"
+ doexe coe_linux || die "doexe failed"
+
+ games_make_wrapper ${PN} "./coe_linux" "${GAMES_PREFIX_OPT}/${PN}"
+ make_desktop_entry ${PN} "Conquest of Elysium 2"
+
+ # Slots for saved games.
+ # The game shows e.g. "EMPTY SLOT 0?", but it works.
+ local f slot state_dir=${GAMES_STATEDIR}/${PN}
+ dodir "${state_dir}"
+ for slot in {0..4} ; do
+ f=save${slot}
+ dosym "${state_dir}/save${slot}" "${dir}/${f}" || die "dosym"
+ echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die "echo"
+ fperms 660 "${state_dir}/${f}" || die "fperms"
+ done
+
+ prepgamesdirs
+}
diff --git a/games-rpg/coe2/files/digest-coe2-2007 b/games-rpg/coe2/files/digest-coe2-2007
new file mode 100644
index 000000000000..1e169d00a521
--- /dev/null
+++ b/games-rpg/coe2/files/digest-coe2-2007
@@ -0,0 +1,3 @@
+MD5 6ab9576b36c99171ec97cbde96ba83b5 coe2_2007.zip 4937222
+RMD160 654719d796676139944a9f2faa5ac88b2933abd7 coe2_2007.zip 4937222
+SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb coe2_2007.zip 4937222
diff --git a/games-rpg/coe2/metadata.xml b/games-rpg/coe2/metadata.xml
new file mode 100644
index 000000000000..3592b6562bab
--- /dev/null
+++ b/games-rpg/coe2/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+Originally released in 1997, Conquest of Elysium II is a turn-based fantasy
+strategy game, and the precursor to the wildly popular Dominions series. As one
+of up to eight players (human, computer controlled, or a mixture) your goal, as
+suggested in the title, is very simple: total subjugation of all that do not fly
+your banner!
+
+Choose your leader from twenty distinct character classes, including brutal
+barbarians, insane necromancers, mighty maharajas, sinister shamans, and even
+the Agarthan king from Dominions 3! Each character allows new strategies for the
+player to explore. The Priestess of Baal can summon demonic creatures, change
+the weather, and sacrifice the innocent. An Enchanter can create constructs out
+of corpses, lakes, forests, and more. Barons can build siege towers, raise
+levies, and keep his subjects in line, even in times of high taxation.
+</longdescription>
+</pkgmetadata>