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

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
}