summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 22:50:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 22:50:52 +0000
commitace7817aecbaf89db820914152f378db6beee176 (patch)
treeef0b826bd2ec7d9c9b134191eaf654a80966570d /games-fps/qudos/qudos-0.40.1.ebuild
parentAutomated update of use.local.desc (diff)
downloadhistorical-ace7817aecbaf89db820914152f378db6beee176.tar.gz
historical-ace7817aecbaf89db820914152f378db6beee176.tar.bz2
historical-ace7817aecbaf89db820914152f378db6beee176.zip
EAPI=2; tidy
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-fps/qudos/qudos-0.40.1.ebuild')
-rw-r--r--games-fps/qudos/qudos-0.40.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/games-fps/qudos/qudos-0.40.1.ebuild b/games-fps/qudos/qudos-0.40.1.ebuild
index 9fbf1d06bafc..50baebb976d0 100644
--- a/games-fps/qudos/qudos-0.40.1.ebuild
+++ b/games-fps/qudos/qudos-0.40.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.9 2007/11/20 02:14:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.10 2010/01/25 22:50:52 mr_bones_ Exp $
+EAPI=2
inherit eutils toolchain-funcs games
FILE_STEM="QuDos-${PV}-src"
@@ -97,8 +98,9 @@ pkg_setup() {
src_unpack() {
unpack "${FILE_STEM}.tar.bz2"
- cd "${S}"
+}
+src_prepare() {
rm docs/gnu.txt
# Change default sound driver and its location
@@ -180,7 +182,7 @@ src_install() {
pkg_postinst() {
games_pkg_postinst
- if use demo && ! built_with_use "games-fps/quake2-demodata" symlink ; then
+ if use demo && ! has_version "games-fps/quake2-demodata[symlink]" ; then
ewarn "To play the Quake 2 demo,"
ewarn "emerge games-fps/quake2-demodata with the 'symlink' USE flag."
echo