summaryrefslogtreecommitdiff
blob: c5df2887633d290e62f0e8ba9bafa9a0914133b6 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit games

MY_P=${P//-/_}
# They have a typo in their filename:
MY_P=${MY_P/community/comunity}

DESCRIPTION="Community Map Pack for the Warsow multiplayer FPS"
HOMEPAGE="http://www.warsow.net/"
SRC_URI="http://update.warsow.net/mirror/${MY_P}.zip"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

S=${WORKDIR}

src_install() {
	insinto "${GAMES_DATADIR}"/warsow
	doins -r "${WORKDIR}"/{basewsw,previews}
	dodoc "${WORKDIR}"/Readme.rtf
	prepgamesdirs
}