/[gentoo-x86]/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild
Gentoo

Contents of /games-fps/ut2004-alienswarm/ut2004-alienswarm-1.32.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Aug 4 07:32:55 2011 UTC (2 years, 11 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Fix SRC_URI failures. Bug #358775

(Portage version: 2.1.10.10/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 EAPI=2
6
7 MOD_DESC="an overhead-view tactical squad-based shooter"
8 MOD_NAME="Alien Swarm"
9 MOD_DIR="AlienSwarm"
10 MOD_ICON="Help/Linux Icons/as-icon-64.png"
11
12 inherit games games-mods
13
14 MY_PV=${PV/.}
15 AS_V="13"
16 PC_V="10"
17 TC_V="1_1"
18 N_SRC="http://www.night-blade.com/AS"
19 IAF_SRC="http://www.iaf-database.com/maps"
20
21 HOMEPAGE="http://www.blackcatgames.com/swarm/"
22 SRC_URI="${N_SRC}/AlienSwarm-v${AS_V}.zip
23 mirror://gentoo/phalanxaswcampaign${PC_V}.zip
24 ${IAF_SRC}/TelicCampaign_${TC_V}.zip
25 http://www.bliny.co.uk/mirror/swarm/TelicCampaign_${TC_V}.zip
26 ${N_SRC}/AlienSwarm_13_or_131_to_${MY_PV}_Patch.zip"
27
28 LICENSE="freedist"
29 KEYWORDS="amd64 x86"
30 IUSE="dedicated opengl"
31
32 src_unpack() {
33 # It is (surprisingly) deliberate to have Music & System dirs
34 # outside of the main AlienSwarm dir. Not sure why. Is same with
35 # LIFLG installer.
36 unpack AlienSwarm-v${AS_V}.zip
37
38 # Phalanx is the only file meant to be unzipped within AlienSwarm
39 cd ${MOD_DIR} || die
40 unpack phalanxaswcampaign${PC_V}.zip
41 cd ..
42
43 unpack TelicCampaign_${TC_V}.zip
44 unpack AlienSwarm_13_or_131_to_${MY_PV}_Patch.zip
45 }
46
47 src_prepare() {
48 rm -f SwarmReadMe.txt ${MOD_DIR}/{*.{bat,exe},Alien-Swarm-Linux}
49 }

  ViewVC Help
Powered by ViewVC 1.1.20