summaryrefslogtreecommitdiff
blob: 8ee05bf34eaeb4b745d050eeadea20a49de7236f (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
39
40
41
42
43
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-chextrek/doom3-chextrek-0.52.ebuild,v 1.1 2009/07/26 10:28:56 nyhm Exp $

MOD_DESC="Green slimeballs mod for kids"
MOD_NAME="Chex Trek: Beyond the Quest"
MOD_DIR="chextrek"
MOD_ICON="flem.ico"

inherit games-mods

MY_PV=${PV/./}

HOMEPAGE="http://doom3.filefront.com/file/Chex_Trek_Beyond_the_Quest;82325"
SRC_URI="chextrek_beta_${MY_PV}.zip"

LICENSE="as-is"
KEYWORDS="~amd64 ~x86"
RESTRICT="fetch"

RDEPEND="games-fps/doom3"

S=${WORKDIR}

pkg_nofetch() {
	elog "Please download ${SRC_URI} from:"
	elog "http://www.filefront.com/8396958"
	elog "and move it to ${DISTDIR}"
}

src_unpack() {
	games-mods_src_unpack

	cd "${WORKDIR}"
	mv -f chextrek_beta* "${MOD_DIR}" || die
}

pkg_postinst() {
	games-mods_pkg_postinst

	elog "Press 'E' to open doors in the game."
	elog "Press 'M' to toggle the map."
}