/[gentoo-x86]/games-fps/quake1-ctf/quake1-ctf-4.0.ebuild
Gentoo

Contents of /games-fps/quake1-ctf/quake1-ctf-4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Apr 29 22:43:28 2015 UTC (4 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
games-fps/quake1-ctf is gone

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-ctf/quake1-ctf-4.0.ebuild,v 1.4 2014/05/04 17:50:53 ulm Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="The original Three Wave Capture The Flag"
8 HOMEPAGE="http://www.threewave.com/"
9 SRC_URI="http://www.threewave.com/quake1/files/3wctf301.zip
10 http://www.threewave.com/quake1/files/3wctfc40.zip
11 http://www.threewave.com/quake1/files/ctfepc14.zip
12 http://www.threewave.com/quake1/files/alst101c.zip
13 http://www.threewave.com/quake1/files/alst110u.zip"
14 # dedicated? ( http://www.threewave.com/quake1/files/alst110s.zip )
15 # dedicated? ( http://www.threewave.com/quake1/files/3wave421d.zip )
16
17 LICENSE="all-rights-reserved"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE=""
21 RESTRICT="mirror bindist"
22
23 RDEPEND=""
24 DEPEND="app-arch/unzip"
25
26 S=${WORKDIR}
27
28 src_unpack() {
29 mkdir ctf
30 cd ctf
31 echo ">>> Unpacking 3wctf301.zip to ${PWD}"
32 unzip -qoL "${DISTDIR}"/3wctf301.zip || die "unpacking 3wctf301.zip failed"
33 mv readme.txt readme-301.txt
34 echo ">>> Unpacking 3wctfc40.zip to ${PWD}"
35 unzip -qoL "${DISTDIR}"/3wctfc40.zip || die "unpacking 3wctfc40.zip failed"
36 mv readme.txt readme-40.txt
37 echo ">>> Unpacking ctfepc14.zip to ${PWD}"
38 unzip -qoL "${DISTDIR}"/ctfepc14.zip || die "unpacking ctfepc14.zip failed"
39 cd ..
40 echo ">>> Unpacking alst101c.zip to ${PWD}"
41 unzip -qoL "${DISTDIR}"/alst101c.zip || die "unpacking alst101c.zip failed"
42 mv ctf/readme.txt ctf/readme-alst101c.txt
43 echo ">>> Unpacking alst110u.zip to ${PWD}"
44 unzip -qoL "${DISTDIR}"/alst110u.zip || die "unpacking alst110u.zip failed"
45 mv ctf/readme.txt ctf/readme-alst110u.txt
46 rmdir maps progs readme
47 }
48
49 src_install() {
50 insinto "${GAMES_DATADIR}/quake1"
51 doins -r * || die
52 prepgamesdirs
53 }

  ViewVC Help
Powered by ViewVC 1.1.20