summaryrefslogtreecommitdiff
path: root/games/scid/scid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/scid/scid.SlackBuild')
-rw-r--r--games/scid/scid.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild
index 1705e8b451..66a68056c3 100644
--- a/games/scid/scid.SlackBuild
+++ b/games/scid/scid.SlackBuild
@@ -8,16 +8,14 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=scid
-VERSION=${VERSION:-3.6.26}
+VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -86,10 +84,10 @@ mv $PKG/usr/share/scid/{bases,books} $PKG/var/games/scid
chown -R root:games $PKG/var/games/scid
find $PKG/var/games/scid -type d -exec chmod 2775 {} \;
find $PKG/var/games/scid -type f -exec chmod 0664 {} \;
-( cd $PKG/usr/share/scid
+cd $PKG/usr/share/scid
ln -s ../../../var/games/scid/bases .
ln -s ../../../var/games/scid/books .
-)
+cd -
# Add a desktop menu entry
mkdir -p $PKG/usr/share/{applications,pixmaps}
@@ -98,14 +96,14 @@ cat $CWD/scid.png > $PKG/usr/share/pixmaps/scid.png
## Add the manpage (Thanks to debian)
mkdir -p $PKG/usr/man/man1
-( cd $PKG/usr/man/man1
+cd $PKG/usr/man/man1
sed "s%@VERSION@%$VERSION%g" $CWD/scid.1 | gzip -9c > scid.1.gz
for i in \
sc_remote scmerge pgnscid sc_spell spliteco sc_eco sc_tree scidpgn pgnfix \
tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ;
do ln -s scid.1.gz $i.1.gz
done
-)
+cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \