summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-10-07 01:34:54 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-10-07 01:34:54 +0000
commite2cbc6b02fc70573b57445d037cb469c5c2809dc (patch)
tree4cc05ffd3146cb800153a47e9fb2f5b5199307d7 /games-fps/quake3-cpma
parentRemove old. (diff)
downloadgentoo-2-e2cbc6b02fc70573b57445d037cb469c5c2809dc.tar.gz
gentoo-2-e2cbc6b02fc70573b57445d037cb469c5c2809dc.tar.bz2
gentoo-2-e2cbc6b02fc70573b57445d037cb469c5c2809dc.zip
EAPI=2; move maps to MOD_DIR
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/quake3-cpma')
-rw-r--r--games-fps/quake3-cpma/ChangeLog5
-rw-r--r--games-fps/quake3-cpma/quake3-cpma-1.46.ebuild15
2 files changed, 11 insertions, 9 deletions
diff --git a/games-fps/quake3-cpma/ChangeLog b/games-fps/quake3-cpma/ChangeLog
index fa5ccf32be8e..25488bdde043 100644
--- a/games-fps/quake3-cpma/ChangeLog
+++ b/games-fps/quake3-cpma/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/quake3-cpma
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/ChangeLog,v 1.18 2009/07/24 21:19:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/ChangeLog,v 1.19 2009/10/07 01:34:54 nyhm Exp $
+
+ 07 Oct 2009; Tristan Heaven <nyhm@gentoo.org> quake3-cpma-1.46.ebuild:
+ EAPI=2; move maps to MOD_DIR
*quake3-cpma-1.46 (24 Jul 2009)
diff --git a/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild b/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild
index fa71864f4840..ed3360c0cb85 100644
--- a/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild
+++ b/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild,v 1.2 2009/10/01 21:28:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/quake3-cpma-1.46.ebuild,v 1.3 2009/10/07 01:34:54 nyhm Exp $
+
+EAPI=2
MOD_DESC="advanced FPS competition mod"
MOD_NAME="Challenge Pro Mode Arena"
@@ -14,17 +16,14 @@ SRC_URI="http://www.challenge-tv.com/demostorage/files/cpm/cpma${PV//.}-nomaps.z
http://www.promode.org/files/cpma-mappack-full.zip"
LICENSE="as-is"
-KEYWORDS="-* ~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="dedicated opengl"
-src_install() {
- insinto "${GAMES_DATADIR}/${GAME}/baseq3"
- doins "${WORKDIR}"/*.pk3 || die "pk3"
-
- games-mods_src_install
+src_prepare() {
+ mv -f *.pk3 ${MOD_DIR} || die
}
pkg_postinst() {
games-mods_pkg_postinst
- elog " To enable bots add: +bot_enable 1"
+ elog "To enable bots: +bot_enable 1"
}