summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-10-09 02:02:10 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-10-09 02:02:10 +0000
commit95174ddbd53053e54a0861f46b4b37f05cc53cfd (patch)
tree7e8107487e915f84497a6a5347607ecd9d09fde2 /games-fps/ut2004-alienswarm
parent0.12 version bump. (diff)
downloadgentoo-2-95174ddbd53053e54a0861f46b4b37f05cc53cfd.tar.gz
gentoo-2-95174ddbd53053e54a0861f46b4b37f05cc53cfd.tar.bz2
gentoo-2-95174ddbd53053e54a0861f46b4b37f05cc53cfd.zip
EAPI=2
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/ut2004-alienswarm')
-rw-r--r--games-fps/ut2004-alienswarm/ChangeLog8
-rw-r--r--games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild25
2 files changed, 17 insertions, 16 deletions
diff --git a/games-fps/ut2004-alienswarm/ChangeLog b/games-fps/ut2004-alienswarm/ChangeLog
index bdc7007619d5..abdc0ffb31a7 100644
--- a/games-fps/ut2004-alienswarm/ChangeLog
+++ b/games-fps/ut2004-alienswarm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/ut2004-alienswarm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-alienswarm/ChangeLog,v 1.11 2008/07/28 17:37:26 wolf31o2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-alienswarm/ChangeLog,v 1.12 2009/10/09 02:02:10 nyhm Exp $
+
+ 09 Oct 2009; Tristan Heaven <nyhm@gentoo.org>
+ ut2004-alienswarm-1.32.ebuild:
+ EAPI=2
28 Jul 2008; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml:
Removing myself from metadata.xml since I am retiring from the project.
diff --git a/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild b/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild
index 5435cb6fe030..f075696d70eb 100644
--- a/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild
+++ b/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild,v 1.3 2009/10/01 21:59:28 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild,v 1.4 2009/10/09 02:02:10 nyhm Exp $
+
+EAPI=2
MOD_DESC="an overhead-view tactical squad-based shooter"
MOD_NAME="Alien Swarm"
MOD_DIR="AlienSwarm"
-# No need to have more than 1 executable
-MOD_BINS="alienswarm"
-MOD_ICON="unpack/${MOD_DIR}/Help/Linux Icons/as-icon-64.png"
+MOD_ICON="Help/Linux Icons/as-icon-64.png"
-inherit eutils games games-mods
+inherit games games-mods
-MY_PV=${PV/./}
+MY_PV=${PV/.}
AS_V="13"
PC_V="10"
TC_V="1_1"
@@ -33,20 +33,17 @@ src_unpack() {
# It is (surprisingly) deliberate to have Music & System dirs
# outside of the main AlienSwarm dir. Not sure why. Is same with
# LIFLG installer.
-
- # Using "unpack" dir to get *all* subdirs installed, not just AlienSwarm
- mkdir unpack
- cd unpack
-
unpack AlienSwarm-v${AS_V}.zip
# Phalanx is the only file meant to be unzipped within AlienSwarm
- cd "${MOD_DIR}" || die
+ cd ${MOD_DIR} || die
unpack phalanxaswcampaign${PC_V}.zip
cd ..
unpack TelicCampaign_${TC_V}.zip
unpack AlienSwarm_13_or_131_to_${MY_PV}_Patch.zip
+}
- rm -f SwarmReadMe.txt "${MOD_DIR}"/{*.{bat,exe},Alien-Swarm-Linux}
+src_prepare() {
+ rm -f SwarmReadMe.txt ${MOD_DIR}/{*.{bat,exe},Alien-Swarm-Linux}
}