summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-05 15:50:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-05 15:50:07 +0000
commit61952b717b62bc7547a71a46b949df053ceceee7 (patch)
tree35f423ff0c0b982dd8cfb2265a4daf20c7c664c4 /games-action
parentreworked ebuild and wrapper script from Scarabeus (diff)
downloadgentoo-2-61952b717b62bc7547a71a46b949df053ceceee7.tar.gz
gentoo-2-61952b717b62bc7547a71a46b949df053ceceee7.tar.bz2
gentoo-2-61952b717b62bc7547a71a46b949df053ceceee7.zip
clean up copying - patch from Pacho Ramos via bug #236783
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/abuse/ChangeLog5
-rw-r--r--games-action/abuse/abuse-0.7.1.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/games-action/abuse/ChangeLog b/games-action/abuse/ChangeLog
index 5e9310ce4d4c..cea7871335a6 100644
--- a/games-action/abuse/ChangeLog
+++ b/games-action/abuse/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/abuse
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.6 2008/08/14 16:46:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.7 2008/09/05 15:50:07 mr_bones_ Exp $
+
+ 05 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org> abuse-0.7.1.ebuild:
+ clean up copying - patch from Pacho Ramos via bug #236783
14 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org> abuse-0.7.1.ebuild:
fix bug #231822 with sed patch from Tomáš Chvátal
diff --git a/games-action/abuse/abuse-0.7.1.ebuild b/games-action/abuse/abuse-0.7.1.ebuild
index cb1d7ccf72ce..177367c7a9a4 100644
--- a/games-action/abuse/abuse-0.7.1.ebuild
+++ b/games-action/abuse/abuse-0.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.7 2008/08/14 16:46:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.8 2008/09/05 15:50:07 mr_bones_ Exp $
inherit eutils games
@@ -26,11 +26,10 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
# fix placing additional patches
- cp -rf "${WORKDIR}"/abuse-frabs-2.11/{addon,art,levels,lisp,music,netlevel,register} "${WORKDIR}"
- cp -rf "${WORKDIR}"/abuse-lib-2.00.orig/unpacked/{addon,art,levels,lisp,abuse.lsp} "${WORKDIR}"
- cp -rf "${WORKDIR}"/abuse-sfx-2.00.orig/sfx "${WORKDIR}"
- rm -rf "${WORKDIR}"/abuse-frabs-2.11/ "${WORKDIR}"/abuse-lib-2.00.orig/ "${WORKDIR}"/abuse-sfx-2.00.orig/
- cd "${S}"
+ use levels && cp -rf "${WORKDIR}"/abuse-frabs-2.11/{addon,art,levels,lisp,music,netlevel,register} "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-frabs-2.11/
+ use demo && cp -rf "${WORKDIR}"/abuse-lib-2.00.orig/unpacked/{addon,art,levels,lisp,abuse.lsp} "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-lib-2.00.orig/
+ use sounds && cp -rf "${WORKDIR}"/abuse-sfx-2.00.orig/sfx "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-sfx-2.00.orig/
+ cd ${S}
# fix bug #231822
sed -i \
-e "s:/var/games/abuse:${GAMES_DATADIR}/${PN}:" \