From e4b4b04463b801964125de9037ea4187def53ca6 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Tue, 11 May 2010 19:44:30 +0200 Subject: games/foobillard: Updated for version 3.0a --- games/foobillard/foobillard.SlackBuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'games/foobillard/foobillard.SlackBuild') diff --git a/games/foobillard/foobillard.SlackBuild b/games/foobillard/foobillard.SlackBuild index 26840a4d0f..f2ed37fa24 100644 --- a/games/foobillard/foobillard.SlackBuild +++ b/games/foobillard/foobillard.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for FooBillard -# Copyright 2007 MagicMan +# Copyright 2007 Frank Caraballo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,6 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -if [ "$(id -u)" != "0" ]; then - echo "This script must be run as root!" - exit 1 -fi - PRGNAM=foobillard VERSION=3.0a ARCH=${ARCH:-i486} @@ -51,7 +46,6 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -72,7 +66,7 @@ cp -a $PRGNAM.6 $PKG/usr/man/man6 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3