summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-05-27 22:18:19 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-05-27 22:18:19 +0000
commit786294dc89246b21976f02d7eba0e9ae48a7761e (patch)
treed8a4499a8d478ebe8e1f1c5930403049518cad4f /games-strategy/wargus
parentversion bump (bug #417737) (diff)
downloadgentoo-2-786294dc89246b21976f02d7eba0e9ae48a7761e.tar.gz
gentoo-2-786294dc89246b21976f02d7eba0e9ae48a7761e.tar.bz2
gentoo-2-786294dc89246b21976f02d7eba0e9ae48a7761e.zip
fix desktop file
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/wargus')
-rw-r--r--games-strategy/wargus/ChangeLog5
-rw-r--r--games-strategy/wargus/wargus-2.2.6.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/games-strategy/wargus/ChangeLog b/games-strategy/wargus/ChangeLog
index 4f890a96765b..9d9d22f95b9d 100644
--- a/games-strategy/wargus/ChangeLog
+++ b/games-strategy/wargus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/wargus
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/ChangeLog,v 1.16 2012/05/27 20:27:13 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/ChangeLog,v 1.17 2012/05/27 22:18:19 hasufell Exp $
+
+ 27 May 2012; Julian Ospald <hasufell@gentoo.org> wargus-2.2.6.ebuild:
+ fix desktop file
*wargus-2.2.6 (27 May 2012)
diff --git a/games-strategy/wargus/wargus-2.2.6.ebuild b/games-strategy/wargus/wargus-2.2.6.ebuild
index 130b30e6c83d..c3887a2c2960 100644
--- a/games-strategy/wargus/wargus-2.2.6.ebuild
+++ b/games-strategy/wargus/wargus-2.2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/wargus-2.2.6.ebuild,v 1.1 2012/05/27 20:27:13 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/wargus-2.2.6.ebuild,v 1.2 2012/05/27 22:18:19 hasufell Exp $
EAPI=2
inherit eutils cdrom cmake-utils gnome2-utils games
@@ -31,6 +31,10 @@ src_prepare() {
cdrom_get_cds data/rezdat.war
epatch "${FILESDIR}/${PN}-2.2.5.5-libpng.patch" \
"${FILESDIR}/${P}-build.patch"
+
+ sed \
+ -e "/^Exec/s#/usr/games/wargus#${GAMES_BINDIR}/wargus#" \
+ -i wargus.desktop || die "fixing desktop file failed"
}
src_configure() {