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
commit0f61b5fbe4ed57388a4c14fd0be6d410a0598fe7 (patch)
tree71db3aade4ea7777b91d24c0b563dee32e33866a /games-rpg/coe2
parentRemoved stale dep (diff)
downloadhistorical-0f61b5fbe4ed57388a4c14fd0be6d410a0598fe7.tar.gz
historical-0f61b5fbe4ed57388a4c14fd0be6d410a0598fe7.tar.bz2
historical-0f61b5fbe4ed57388a4c14fd0be6d410a0598fe7.zip
New package, requested via bug #181732
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'games-rpg/coe2')
-rw-r--r--games-rpg/coe2/ChangeLog10
-rw-r--r--games-rpg/coe2/Manifest26
-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, 112 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..974c4a798068
--- /dev/null
+++ b/games-rpg/coe2/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST coe2_2007.zip 4937222 RMD160 654719d796676139944a9f2faa5ac88b2933abd7 SHA1 57ab97145b9a4459525d28ee98cd780eae29a4aa SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb
+EBUILD coe2-2007.ebuild 1432 RMD160 eed9695521b8c7010263a6d11259334dc6bf28b1 SHA1 27e289cadf687ab86b342a613573ace5af7f093b SHA256 462553b417d176b97944836b74afa80c85094efd6c1ec16e2ed3267b5e3c8507
+MD5 d8df5cdab84290406f149f7f6c2c3079 coe2-2007.ebuild 1432
+RMD160 eed9695521b8c7010263a6d11259334dc6bf28b1 coe2-2007.ebuild 1432
+SHA256 462553b417d176b97944836b74afa80c85094efd6c1ec16e2ed3267b5e3c8507 coe2-2007.ebuild 1432
+MISC ChangeLog 372 RMD160 0e5a118b7afe89bb9858e09cb861fc98f1812774 SHA1 5a5fbe670608273b3334caefd5f37ccdc65526b4 SHA256 1f7978d2f5f203c575555c810a7954505f847ba7d7c58c672183f028d6096564
+MD5 0cfe3ca1ad4857e08f2c88ffe897e976 ChangeLog 372
+RMD160 0e5a118b7afe89bb9858e09cb861fc98f1812774 ChangeLog 372
+SHA256 1f7978d2f5f203c575555c810a7954505f847ba7d7c58c672183f028d6096564 ChangeLog 372
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFG1ednRmMZkarFlIwRAlI/AJ9oSx7n3ybvAykTtTCeIyRtyFd6YQCg6yTZ
+x+pUskUwDxIQEQFXNVsYsrs=
+=Cvxv
+-----END PGP SIGNATURE-----
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>