summaryrefslogtreecommitdiff
blob: 0f58f49b905143367fbefe73a2d16c548256f13f (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-unwheel/ut2004-unwheel-0_beta5.ebuild,v 1.2 2007/01/10 21:13:49 wolf31o2 Exp $

MOD_DESC="multiplayer driving mod focusing on fun driving"
MOD_NAME="Unwheel"
MOD_DIR="unwheel"

inherit versionator games games-mods

MY_PV=$(get_version_component_range 2-2)
MY_PV=${PV/0_beta/r}
MY_PN="unwheel"

HOMEPAGE="http://unwheel.beyondunreal.com/"
SRC_URI="mirror://beyondunreal/${MY_PN}/${MY_PN}_${MY_PV}.zip
	mirror://beyondunreal/${MY_PN}/packs/unwheel-r5_bonuspack-volume_1.zip"

LICENSE="as-is"

RDEPEND="${CATEGORY}/${GAME}"

src_unpack() {
	mkdir -p ${MOD_DIR}
	unzip "${DISTDIR}"/${MY_PN}_${MY_PV}.zip -d ${MOD_DIR}
	unzip "${DISTDIR}"/unwheel-r5_bonuspack-volume_1.zip -d ${MOD_DIR}
}