diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-05 07:34:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-05 07:34:36 +0000 |
commit | 7ad256a93a4afc0af65e4053cc49f480f19c1c24 (patch) | |
tree | a1d8f8b1da7b987e43f0a239ee96bf17df9afebc /games-fps/etqw-demo | |
parent | Use unpack_makeself now that it supports newer versions. (diff) | |
download | gentoo-2-7ad256a93a4afc0af65e4053cc49f480f19c1c24.tar.gz gentoo-2-7ad256a93a4afc0af65e4053cc49f480f19c1c24.tar.bz2 gentoo-2-7ad256a93a4afc0af65e4053cc49f480f19c1c24.zip |
Use unzip directly to avoid creation of 700MB temp file.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/etqw-demo')
-rw-r--r-- | games-fps/etqw-demo/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild | 13 |
2 files changed, 11 insertions, 9 deletions
diff --git a/games-fps/etqw-demo/ChangeLog b/games-fps/etqw-demo/ChangeLog index 107d6675d16f..5977f39521b3 100644 --- a/games-fps/etqw-demo/ChangeLog +++ b/games-fps/etqw-demo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-fps/etqw-demo -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/ChangeLog,v 1.4 2008/06/05 20:21:37 wolf31o2 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/ChangeLog,v 1.5 2012/02/05 07:34:36 vapier Exp $ + + 05 Feb 2012; Mike Frysinger <vapier@gentoo.org> etqw-demo-2.0_p1.ebuild: + Use unzip directly to avoid creation of 700MB temp file. 05 Jun 2008; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml: Removing myself as maintainer. diff --git a/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild b/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild index 1a570dc4d3e9..a5c313f672ae 100644 --- a/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild +++ b/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild,v 1.2 2008/05/14 23:58:52 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/etqw-demo-2.0_p1.ebuild,v 1.3 2012/02/05 07:34:36 vapier Exp $ inherit eutils versionator games @@ -48,11 +48,10 @@ QA_EXECSTACK="${dir:1}/data/libstdc++.so.6 ${dir:1}/guis/libmojosetupgui_ncurses.so" src_unpack() { - # unpack_makeself cannot detect the version - tail -c +194885 "${DISTDIR}/${MY_BODY}.run" > ${PN}.zip || die "tail" - unpack ./${PN}.zip - - rm -f ${PN}.zip || die + einfo "Ignore 'extra bytes' message from unzip" + unzip -q "${DISTDIR}/${A}" + # exit status of 1 should just be warnings, not corrupt archive + [[ $? -eq 0 || $? -eq 1 ]] || die "unpacking failed" } src_install() { |