summaryrefslogtreecommitdiff
blob: c07ed2b169b4fe51cacdbc87a20f7c94377b1e52 (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-2009 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.3 2009/03/02 01:35:48 mr_bones_ 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}
}