summaryrefslogtreecommitdiff
blob: ae6bac51561b903d8b79ded63b10f02a43d91bd9 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $

inherit games

MY_PV=${PV/./}
DESCRIPTION="A UT addon where you fight terrorists as part of an elite strikeforce"
HOMEPAGE="http://www.strikeforcecenter.com/"
SRC_URI="http://www.zvdk.nl/downloads/server/SF${MY_PV}.zip
	http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack1.zip
	http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack2.zip"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

DEPEND="|| ( app-games/unreal-tournament app-games/unreal-tournament-goty )"

S="${WORKDIR}"

src_unpack() {
	# we gotta do this cause there is a duplicate file across these zip's ...
	unpack SF${MY_PV}.zip
	unpack sf${MY_PV}_mappack1.zip
	rm -rf SF_Sounds/urbansnds.uax
	unpack sf${MY_PV}_mappack2.zip
}

src_install() {
	local dir=${GAMES_PREFIX_OPT}/unreal-tournament
	dodir ${dir}/Help
	mv *.txt ${D}/${dir}/Help/
	mv * ${D}/${dir}/
	prepgamesdirs
}