summaryrefslogtreecommitdiff
path: root/games/gnubg/gnubg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnubg/gnubg.SlackBuild')
-rw-r--r--games/gnubg/gnubg.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild
index cb65c13a93..8ce380a101 100644
--- a/games/gnubg/gnubg.SlackBuild
+++ b/games/gnubg/gnubg.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GNU Backgammon
-# Copyright 2009-2012 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2013 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=gnubg
VERSION=${VERSION:-0.90.0}
-SRCVER=${SRCVER:-20120701}
+SRCVER=${SRCVER:-20130318}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz
+mkdir $PRGNAM
+tar -C $PRGNAM -xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz
cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .