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