summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-05 20:13:14 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-05 20:13:14 +0000
commite803f40073fe639e089dc9364c2612cadb0f7b6f (patch)
tree9259e4d390b01e5738ef5affd2655d569102f3bf /games-rpg
parentwe want mkdir, not dodir :o (diff)
downloadgentoo-2-e803f40073fe639e089dc9364c2612cadb0f7b6f.tar.gz
gentoo-2-e803f40073fe639e089dc9364c2612cadb0f7b6f.tar.bz2
gentoo-2-e803f40073fe639e089dc9364c2612cadb0f7b6f.zip
Use QA_PREBUILT, fix minor QA issues, wrt bug #430026
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/coe2/ChangeLog7
-rw-r--r--games-rpg/coe2/coe2-2007.ebuild15
2 files changed, 14 insertions, 8 deletions
diff --git a/games-rpg/coe2/ChangeLog b/games-rpg/coe2/ChangeLog
index 95f528ef353a..9089df03e95f 100644
--- a/games-rpg/coe2/ChangeLog
+++ b/games-rpg/coe2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/coe2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.2 2009/02/12 22:47:26 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.3 2013/01/05 20:13:14 pinkbyte Exp $
+
+ 05 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> coe2-2007.ebuild:
+ Use QA_PREBUILT, fix minor QA issues, wrt bug #430026
12 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> coe2-2007.ebuild:
EAPI=2; fix improper die usage (bug #258770)
diff --git a/games-rpg/coe2/coe2-2007.ebuild b/games-rpg/coe2/coe2-2007.ebuild
index 720a93d3ebf8..19564034a077 100644
--- a/games-rpg/coe2/coe2-2007.ebuild
+++ b/games-rpg/coe2/coe2-2007.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/coe2-2007.ebuild,v 1.2 2009/02/12 22:47:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/coe2-2007.ebuild,v 1.3 2013/01/05 20:13:14 pinkbyte Exp $
EAPI=2
inherit eutils games
@@ -18,11 +18,14 @@ RDEPEND="media-libs/libsdl"
DEPEND="${RDEPEND}
app-arch/unzip"
-S=${WORKDIR}/coe
+S="${WORKDIR}/coe"
+
+# bug #430026
+QA_PREBUILT="/opt/coe2/coe_linux"
src_prepare() {
- rm *.{dll,exe}
- rm -r old
+ rm *.{dll,exe} || die 'rm failed'
+ rm -r old || die 'rm failed'
if use amd64 ; then
mv -f coe_linux64bit coe_linux || die "mv amd64 image failed"
fi
@@ -31,7 +34,7 @@ src_prepare() {
src_install() {
insinto "${GAMES_PREFIX_OPT}/${PN}"
doins *.{bgm,smp,trp,trs,wrl} || die " doins failed"
- dodoc history.txt manual.txt readme.txt
+ dodoc history.txt manual.txt readme.txt || die "dodoc failed"
exeinto "${GAMES_PREFIX_OPT}/${PN}"
doexe coe_linux || die "doexe failed"