summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-09-24 17:20:34 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-09-24 17:20:34 +0000
commita757987154f09790709dbc390c8e482c08c91958 (patch)
tree75a1c3295766fb0980cae4e432448291c8b45a08 /games-fps/etqw-data
parentMasked =sys-apps/portage-2.2.00.14277 because it eats /etc/init.d/functions.sh (diff)
downloadgentoo-2-a757987154f09790709dbc390c8e482c08c91958.tar.gz
gentoo-2-a757987154f09790709dbc390c8e482c08c91958.tar.bz2
gentoo-2-a757987154f09790709dbc390c8e482c08c91958.zip
move cdrom_get_cds to src_install
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/etqw-data')
-rw-r--r--games-fps/etqw-data/etqw-data-1.0.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games-fps/etqw-data/etqw-data-1.0.ebuild b/games-fps/etqw-data/etqw-data-1.0.ebuild
index 34dba5609030..f8968c86b3ed 100644
--- a/games-fps/etqw-data/etqw-data-1.0.ebuild
+++ b/games-fps/etqw-data/etqw-data-1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/etqw-data-1.0.ebuild,v 1.2 2009/04/14 07:27:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/etqw-data-1.0.ebuild,v 1.3 2009/09/24 17:20:34 nyhm Exp $
inherit eutils games
@@ -18,13 +18,11 @@ S=${WORKDIR}
GAMES_CHECK_LICENSE="yes"
-src_unpack() {
- cdrom_get_cds Setup/Data/base/DEU:Setup/Data/base/POL:Setup/Data/base
-}
-
src_install() {
local dir=${GAMES_PREFIX_OPT}/etqw
+ cdrom_get_cds Setup/Data/base/DEU:Setup/Data/base/POL:Setup/Data/base
+
cd "${CDROM_ROOT}"/Setup/Data/base
insinto "${dir}"/base
doins pak00{0..4}.pk4 || die "doins pak failed"