summaryrefslogtreecommitdiff
path: root/games/foobillard/foobillard.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo[AT]gmail.com>2010-05-11 19:44:30 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:44:30 +0200
commite4b4b04463b801964125de9037ea4187def53ca6 (patch)
tree16ee070a4d85e131257d22be6466462d42e1d720 /games/foobillard/foobillard.SlackBuild
parentf0e9ee7c90f423f7ef91947fa0d4eed24747efdd (diff)
downloadslackbuilds-e4b4b04463b801964125de9037ea4187def53ca6.tar.gz
games/foobillard: Updated for version 3.0a
Diffstat (limited to 'games/foobillard/foobillard.SlackBuild')
-rw-r--r--games/foobillard/foobillard.SlackBuild10
1 files changed, 2 insertions, 8 deletions
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 <MagicMan07@bluebottle.com>
+# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com>
# 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