summaryrefslogtreecommitdiff
path: root/games/scid_vs_pc/scid_vs_pc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/scid_vs_pc/scid_vs_pc.SlackBuild')
-rw-r--r--games/scid_vs_pc/scid_vs_pc.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/games/scid_vs_pc/scid_vs_pc.SlackBuild b/games/scid_vs_pc/scid_vs_pc.SlackBuild
index 959e359a58..6648b59936 100644
--- a/games/scid_vs_pc/scid_vs_pc.SlackBuild
+++ b/games/scid_vs_pc/scid_vs_pc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Scid vs. PC
-# Copyright 2013 - Fernando Giannasi - São Paulo - Brazil
+# Copyright 2013-2014 - Fernando Giannasi - São Paulo - Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scid_vs_pc
-VERSION=${VERSION:-4.10}
+VERSION=${VERSION:-4.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,18 +62,18 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- BINDIR=$PKG/usr/bin/ \
- SHAREDIR=$PKG/usr/share/scid/ \
- FONTDIR=$PKG/usr/share/fonts/truetype/Scid
+ BINDIR=/usr/bin/ \
+ SHAREDIR=/usr/share/scid/ \
+ FONTDIR=/usr/share/fonts/truetype/Scid
make
make install DESTDIR=$PKG