ChangeLog

# 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 +metadata.xml,
+coe2-2007.ebuild:
New package, requested via bug #181732 by Paul Bredbury

Manifest

DIST coe2_2007.zip 4937222 RMD160 654719d796676139944a9f2faa5ac88b2933abd7 SHA1 57ab97145b9a4459525d28ee98cd780eae29a4aa SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb
EBUILD coe2-2007.ebuild 1432 RMD160 eed9695521b8c7010263a6d11259334dc6bf28b1 SHA1 27e289cadf687ab86b342a613573ace5af7f093b SHA256 462553b417d176b97944836b74afa80c85094efd6c1ec16e2ed3267b5e3c8507
MISC ChangeLog 372 RMD160 0e5a118b7afe89bb9858e09cb861fc98f1812774 SHA1 5a5fbe670608273b3334caefd5f37ccdc65526b4 SHA256 1f7978d2f5f203c575555c810a7954505f847ba7d7c58c672183f028d6096564
MISC metadata.xml 1075 RMD160 e15f8bea0b33327d6b5e8634516687770776871c SHA1 b0bb1b362284dd19f9049a61d1b57fac7f6c3919 SHA256 39fed75945c357260cc9b8299f9b90c38d46848dfe0d959b9429a872f567b03b

coe2-2007.ebuild

# 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
}

metadata.xml




games

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.