summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-15 21:52:31 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-15 21:52:31 +0000
commitf5f6203058f211504ca1d5396d94148af09f7ec5 (patch)
tree8374ba73ffaf950591d9d35d6d770b438ee9af8c /games-arcade/xrick
parentCheck that media-libs/gd has png support compiled in, see bug #170903, thanks... (diff)
downloadgentoo-2-f5f6203058f211504ca1d5396d94148af09f7ec5.tar.gz
gentoo-2-f5f6203058f211504ca1d5396d94148af09f7ec5.tar.bz2
gentoo-2-f5f6203058f211504ca1d5396d94148af09f7ec5.zip
Install menu entry, bug #160263
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-arcade/xrick')
-rw-r--r--games-arcade/xrick/ChangeLog7
-rw-r--r--games-arcade/xrick/xrick-021212-r1.ebuild19
2 files changed, 15 insertions, 11 deletions
diff --git a/games-arcade/xrick/ChangeLog b/games-arcade/xrick/ChangeLog
index d20549168aa0..542b4b858aa6 100644
--- a/games-arcade/xrick/ChangeLog
+++ b/games-arcade/xrick/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/xrick
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.10 2006/09/25 18:18:02 mr_bones_ Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.11 2007/03/15 21:52:31 nyhm Exp $
+
+ 15 Mar 2007; Tristan Heaven <nyhm@gentoo.org> xrick-021212-r1.ebuild:
+ Install menu entry, bug #160263
25 Sep 2006; Michael Sterrett <mr_bones_@gentoo.org>
xrick-021212-r1.ebuild:
diff --git a/games-arcade/xrick/xrick-021212-r1.ebuild b/games-arcade/xrick/xrick-021212-r1.ebuild
index d20193076ded..a727a72d93dd 100644
--- a/games-arcade/xrick/xrick-021212-r1.ebuild
+++ b/games-arcade/xrick/xrick-021212-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.10 2006/09/25 18:18:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.11 2007/03/15 21:52:31 nyhm Exp $
-inherit games
+inherit eutils games
DESCRIPTION="Clone of the Rick Dangerous adventure game from the 80's"
SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
@@ -14,13 +14,12 @@ KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
RESTRICT="mirror" # bug #149097
-DEPEND=">=media-libs/libsdl-1.2
- sys-libs/zlib"
+DEPEND="media-libs/libsdl"
src_unpack() {
unpack ${A}
cd "${S}"
- gunzip xrick.6.gz || die "gunzip failed"
+ unpack ./xrick.6.gz
sed -i \
-e "/^run from/d" \
@@ -37,9 +36,11 @@ src_unpack() {
}
src_install() {
- dogamesbin xrick || die
- insinto "${GAMES_LIBDIR}/${PN}"
- doins data.zip
+ dogamesbin xrick || die "dogamesbin failed"
+ insinto "${GAMES_LIBDIR}"/${PN}
+ doins data.zip || die "doins failed"
+ newicon src/xrickST.ico ${PN}.ico
+ make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico
dodoc README KeyCodes
doman xrick.6
prepgamesdirs