summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-08-12 05:15:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-08-12 05:15:58 +0000
commit39b2ca7a504e694399c4a044c63d6bbccea370bd (patch)
tree399c570f460364267bc61b1663dac124ac8d04db /games-action/spacetripper-demo/spacetripper-demo-1.ebuild
parentStable on ppc wrt bug #102000 (diff)
downloadgentoo-2-39b2ca7a504e694399c4a044c63d6bbccea370bd.tar.gz
gentoo-2-39b2ca7a504e694399c4a044c63d6bbccea370bd.tar.bz2
gentoo-2-39b2ca7a504e694399c4a044c63d6bbccea370bd.zip
fixed symlink creation; tidy
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-action/spacetripper-demo/spacetripper-demo-1.ebuild')
-rw-r--r--games-action/spacetripper-demo/spacetripper-demo-1.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/games-action/spacetripper-demo/spacetripper-demo-1.ebuild b/games-action/spacetripper-demo/spacetripper-demo-1.ebuild
index 4657e039befa..b5abede7b55f 100644
--- a/games-action/spacetripper-demo/spacetripper-demo-1.ebuild
+++ b/games-action/spacetripper-demo/spacetripper-demo-1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/spacetripper-demo/spacetripper-demo-1.ebuild,v 1.4 2005/08/11 23:45:48 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/spacetripper-demo/spacetripper-demo-1.ebuild,v 1.5 2005/08/12 05:15:58 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
MY_P="spacetripperdemo"
DESCRIPTION="hardcore arcade shoot-em-up"
@@ -25,17 +25,18 @@ src_unpack() {
}
src_install() {
- dodir ${dir}
-
- cp -r preview run styles ${Ddir}
-
- exeinto ${dir}
+ exeinto "${dir}"
doexe bin/x86/*
- dosed "s:XYZZY:${dir}:" ${dir}/${MY_P}
- dosym ${dir}/${MY_P} ${GAMES_BINDIR}/${PN}
+ sed -i \
+ -e "s:XYZZY:${dir}:" "${Ddir}/${MY_P}" \
+ || die "sed failed"
- insinto ${dir}
+ insinto "${dir}"
+ doins -r preview run styles || die "doins failed"
doins README license.txt icon.xpm
+ dodir "${GAMES_BINDIR}"
+ dosym "${dir}/${MY_P}" "${GAMES_BINDIR}/${PN}"
+
prepgamesdirs
}