From c74d94671a7aa2ebeaf1c9963474edcee42c5d97 Mon Sep 17 00:00:00 2001 From: "Nathan Phillip Brink (binki)" Date: Sat, 2 Jul 2011 16:14:33 +0000 Subject: [PATCH] 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 --- games-rpg/privateergold/ChangeLog | 4 ++++ games-rpg/privateergold/files/privscript | 2 +- games-rpg/privateergold/privateergold-1.03.ebuild | 2 +- 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 + 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() { -- 2.43.2