diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-01-07 23:32:59 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-01-07 23:32:59 +0000 |
commit | a0a3343b01f21b71c87a97fb8207da44f7b48ecf (patch) | |
tree | b4f381a33d82cd902ee576482888b35f259ae375 /games-strategy | |
parent | fix quoting (diff) | |
download | gentoo-2-a0a3343b01f21b71c87a97fb8207da44f7b48ecf.tar.gz gentoo-2-a0a3343b01f21b71c87a97fb8207da44f7b48ecf.tar.bz2 gentoo-2-a0a3343b01f21b71c87a97fb8207da44f7b48ecf.zip |
fix icon and sed || die
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/widelands/widelands-0.0.9.5.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games-strategy/widelands/widelands-0.0.9.5.ebuild b/games-strategy/widelands/widelands-0.0.9.5.ebuild index 6c4fb15cb57e..32a3a1b35ddb 100644 --- a/games-strategy/widelands/widelands-0.0.9.5.ebuild +++ b/games-strategy/widelands/widelands-0.0.9.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.5.ebuild,v 1.2 2006/01/07 23:27:47 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.5.ebuild,v 1.3 2006/01/07 23:32:59 genstef Exp $ inherit eutils games @@ -27,7 +27,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/widelands-0.0.9-amd64.patch" - sed -i -e "s:__ppc__:__PPC__:g" ${S}/src/machdep.h + sed -i -e "s:__ppc__:__PPC__:g" ${S}/src/machdep.h || die 01 } src_compile() { @@ -48,6 +48,7 @@ src_install() { games_make_wrapper widelands ./widelands "${dir}" dodoc AUTHORS ChangeLog README.developers - make_desktop_entry widelands Widelands "${dir}"/pics/wl-ico-48.png + newicon pics/wl-ico-48.png widelands.png + make_desktop_entry widelands Widelands widelands.png prepgamesdirs } |