summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-07-02 16:14:33 +0000
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-07-02 16:14:33 +0000
commitc74d94671a7aa2ebeaf1c9963474edcee42c5d97 (patch)
treeaa6cbb25750e21d336c960189ecc8a9b789229c0
parentmedia-sound/abcmidi: Fix reference to 2011.06.10-makefile.patch to not try to... (diff)
downloadsunrise-c74d94671a7aa2ebeaf1c9963474edcee42c5d97.tar.gz
sunrise-c74d94671a7aa2ebeaf1c9963474edcee42c5d97.tar.bz2
sunrise-c74d94671a7aa2ebeaf1c9963474edcee42c5d97.zip
games-rpg/privateergold: Remove unnecessary DEPEND from binary package and fix head -1.
(Portage version: 2.2.0_alpha41-r1/svn/Linux x86_64) svn path=/sunrise/; revision=12187
-rw-r--r--games-rpg/privateergold/ChangeLog4
-rw-r--r--games-rpg/privateergold/files/privscript2
-rw-r--r--games-rpg/privateergold/privateergold-1.03.ebuild2
3 files changed, 6 insertions, 2 deletions
diff --git a/games-rpg/privateergold/ChangeLog b/games-rpg/privateergold/ChangeLog
index 5e5f15361..c469f5106 100644
--- a/games-rpg/privateergold/ChangeLog
+++ b/games-rpg/privateergold/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Jul 2011; Nathan Phillip Brink <binki@gentoo.org>
+ privateergold-1.03.ebuild, files/privscript:
+ Remove unnecessary DEPEND from binary package and fix head -1.
+
25 Jun 2011; Stefan Garthe (the_mgt) themgt@uncensored.citadel.org
privateergold-1.03.ebuild:
Improved the dependencies, removed commented-out phases, replaced them by
diff --git a/games-rpg/privateergold/files/privscript b/games-rpg/privateergold/files/privscript
index 91676b273..cccc45dda 100644
--- a/games-rpg/privateergold/files/privscript
+++ b/games-rpg/privateergold/files/privscript
@@ -2,7 +2,7 @@
GAMESDIR="/usr/share/games"
PRIVDIR="$GAMESDIR/privateergold"
-VERSION=`head -1 $PRIVDIR/Version.txt`
+VERSION=$(head -n 1 $PRIVDIR/Version.txt)
if [ \! -e ~/$VERSION ]; then
cd $PRIVDIR/bin && ./vsinstall.sh
else
diff --git a/games-rpg/privateergold/privateergold-1.03.ebuild b/games-rpg/privateergold/privateergold-1.03.ebuild
index 4cb4ec0c5..26a088fbd 100644
--- a/games-rpg/privateergold/privateergold-1.03.ebuild
+++ b/games-rpg/privateergold/privateergold-1.03.ebuild
@@ -27,7 +27,7 @@ RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr )"
-DEPEND="${RDEPEND}"
+
S=${WORKDIR}
src_unpack() {