summaryrefslogtreecommitdiff
blob: 0d6e7c065dc444126e836d92f6d194ca4d10a153 (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
33
34
35
36
37
38
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit games
MY_PV=${PV/./}

DESCRIPTION="A mod that attempts to make Doom faster placed, harder, gorier and more violent."
HOMEPAGE="http://wadhost.fathax.com/download.php?view.20"
SRC_URI="http://wadhost.fathax.com/e107_files/downloads/brutalgzdoomv${MY_PV}.zip"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# TODO Add USEs for zdoom and skulltag
IUSE=""

RDEPEND="games-fps/zdoom"
DEPEND="app-arch/unzip"

S="${WORKDIR}"

src_install() {
	insinto "${GAMES_DATADIR}/doom-data"
	doins brutalgzdoomv${MY_PV}.pk3
	dodoc "BrutalDoom Changelog.txt"
	prepgamesdirs
}

pkg_postinst() {
	games_pkg_postinst
	echo
	elog "In order to play this mod run zdoom with -file option:"
	elog "    zdoom -file ${GAMES_DATADIR}/doom-data/brutalgzdoomv${MY_PV}.pk3"
	echo
}