summaryrefslogtreecommitdiff
blob: 37bbbfe8d72d2025dc58e97c6d9600d1a1f51e7d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-rally/quake3-rally-1.33.ebuild,v 1.5 2010/05/23 18:52:36 pacho Exp $

EAPI=2

MOD_DESC="total conversion car racing mod"
MOD_NAME="Rally"
MOD_DIR="q3rally"

inherit games games-mods

HOMEPAGE="http://www.q3rally.com/"
SRC_URI="http://www.q3rally.com/download/q3rally_v132.rar
	http://www.q3rally.com/download/qvms.pk3 -> ${PN}-qvms.pk3"

LICENSE="as-is"
KEYWORDS="amd64 ~ppc x86"
IUSE="dedicated opengl"

DEPEND="app-arch/unrar"
RDEPEND=""

src_unpack() {
	mkdir ${MOD_DIR}
	cd ${MOD_DIR}
	unpack ${A}
}

src_prepare() {
	cp -f "${DISTDIR}"/${PN}-qvms.pk3 ${MOD_DIR}/qvms.pk3 || die
}