diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-12 22:47:26 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-12 22:47:26 +0000 |
commit | 1cff7eefc37de87730adfa26c147964c240b81db (patch) | |
tree | 596332eb55cb1fc0e1f5193af913006552e054bf /games-rpg | |
parent | Stable on alpha, bug #253668 (diff) | |
download | historical-1cff7eefc37de87730adfa26c147964c240b81db.tar.gz historical-1cff7eefc37de87730adfa26c147964c240b81db.tar.bz2 historical-1cff7eefc37de87730adfa26c147964c240b81db.zip |
EAPI=2; fix improper die usage (bug #258770)
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/coe2/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/coe2/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/coe2/coe2-2007.ebuild | 14 |
3 files changed, 14 insertions, 11 deletions
diff --git a/games-rpg/coe2/ChangeLog b/games-rpg/coe2/ChangeLog index f31c91e43593..95f528ef353a 100644 --- a/games-rpg/coe2/ChangeLog +++ b/games-rpg/coe2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/coe2 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.1 2007/08/29 21:38:39 tupone Exp $ +# 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 $ + + 12 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> coe2-2007.ebuild: + EAPI=2; fix improper die usage (bug #258770) *coe2-2007 (29 Aug 2007) diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest index 2a64b2bbcbb5..987c613606e2 100644 --- a/games-rpg/coe2/Manifest +++ b/games-rpg/coe2/Manifest @@ -1,4 +1,4 @@ DIST coe2_2007.zip 4937222 RMD160 654719d796676139944a9f2faa5ac88b2933abd7 SHA1 57ab97145b9a4459525d28ee98cd780eae29a4aa SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb -EBUILD coe2-2007.ebuild 1432 RMD160 eed9695521b8c7010263a6d11259334dc6bf28b1 SHA1 27e289cadf687ab86b342a613573ace5af7f093b SHA256 462553b417d176b97944836b74afa80c85094efd6c1ec16e2ed3267b5e3c8507 -MISC ChangeLog 372 RMD160 0e5a118b7afe89bb9858e09cb861fc98f1812774 SHA1 5a5fbe670608273b3334caefd5f37ccdc65526b4 SHA256 1f7978d2f5f203c575555c810a7954505f847ba7d7c58c672183f028d6096564 +EBUILD coe2-2007.ebuild 1431 RMD160 9cc89e93edf16b8973b7548e098fcdb610623845 SHA1 8bc7995a60f1bcf2d637b3558c2d9b598f82eb05 SHA256 072451a53f385dd4fab595aab6c6fd2067b60a15e8387ebe58c884e90b15743f +MISC ChangeLog 496 RMD160 d9b8dc0601e0b7ef5a41d4ce325f7ad84483cb29 SHA1 8bb5311b71dafdf2f8549447ceb793bb2052d6f4 SHA256 38848c87a7045c614b1fcf1ed3b42f25f2c91313e4324c0e4cdae822ab846386 MISC metadata.xml 1075 RMD160 e15f8bea0b33327d6b5e8634516687770776871c SHA1 b0bb1b362284dd19f9049a61d1b57fac7f6c3919 SHA256 39fed75945c357260cc9b8299f9b90c38d46848dfe0d959b9429a872f567b03b diff --git a/games-rpg/coe2/coe2-2007.ebuild b/games-rpg/coe2/coe2-2007.ebuild index 7ca1bfc0aa5e..720a93d3ebf8 100644 --- a/games-rpg/coe2/coe2-2007.ebuild +++ b/games-rpg/coe2/coe2-2007.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 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.1 2007/08/29 21:38:39 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/coe2-2007.ebuild,v 1.2 2009/02/12 22:47:26 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Precursor to the Dominions series" @@ -19,13 +20,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/coe -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { rm *.{dll,exe} rm -r old - use amd64 && mv -f coe_linux64bit coe_linux || die "mv amd64 image failed" + if use amd64 ; then + mv -f coe_linux64bit coe_linux || die "mv amd64 image failed" + fi } src_install() { |