summaryrefslogtreecommitdiff
path: root/academic/xcircuit/xcircuit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xcircuit/xcircuit.SlackBuild')
-rw-r--r--academic/xcircuit/xcircuit.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/xcircuit/xcircuit.SlackBuild b/academic/xcircuit/xcircuit.SlackBuild
index 8c51c56b93..d10fc94685 100644
--- a/academic/xcircuit/xcircuit.SlackBuild
+++ b/academic/xcircuit/xcircuit.SlackBuild
@@ -4,7 +4,7 @@
# Written by B. Jogai <jogaib {at} comcast [dot] net>
PRGNAM=xcircuit
-VERSION=3.7.13
+VERSION=${VERSION:-3.7.54}
BUILD=${BUILD:-1}
TAG=${TAG:-"_SBo"}
@@ -44,7 +44,11 @@ rm -rf $PRGNAM-$VERSION $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \