diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-10-11 00:05:40 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-10-11 00:05:40 +0000 |
commit | ea54ed3d58416704c3f5809075822ca46f399a56 (patch) | |
tree | f45267e713945b07cfe5359389ef16224b356bd2 /eclass/games-mods.eclass | |
parent | EAPI=2; remove dedicated and opengl USE flags; let games-mods.eclass handle i... (diff) | |
download | gentoo-2-ea54ed3d58416704c3f5809075822ca46f399a56.tar.gz gentoo-2-ea54ed3d58416704c3f5809075822ca46f399a56.tar.bz2 gentoo-2-ea54ed3d58416704c3f5809075822ca46f399a56.zip |
remove src_unpack
Diffstat (limited to 'eclass/games-mods.eclass')
-rw-r--r-- | eclass/games-mods.eclass | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass index 6ada199ccb19..33bd0b4f93b8 100644 --- a/eclass/games-mods.eclass +++ b/eclass/games-mods.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.38 2009/10/10 20:08:51 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.39 2009/10/11 00:05:40 nyhm Exp $ # Variables to specify in an ebuild which uses this eclass: # GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" @@ -11,7 +11,7 @@ inherit eutils games -EXPORT_FUNCTIONS src_unpack src_install pkg_postinst +EXPORT_FUNCTIONS src_install pkg_postinst [[ -z ${GAME} ]] && GAME=${PN%%-*} @@ -134,28 +134,6 @@ games-mods_use_dedicated() { use dedicated && return 0 || return 1 } -games-mods_src_unpack() { - # The first thing we do here is determine exactly what we're dealing with - for src_uri in ${A} ; do - URI_SUFFIX="${src_uri##*.}" - case ${URI_SUFFIX##*.} in - bin|run) - # We have a Makeself archive, use unpack_makeself - unpack_makeself "${src_uri}" - # Since this is a Makeself archive, it has a lot of useless - # files (for us), so we delete them. - rm -rf setup.data setup.sh uninstall - ;; - bz2|gz|Z|z|ZIP|zip) - # We have a normal tarball/zip file, use unpack - unpack "${src_uri}" - ;; - esac - done - - rm -f 3355_patch 3339_patch -} - games-mods_src_install() { local readme MOD_ICON_EXT new_bin_name bin_name INS_DIR=${dir} |