aboutsummaryrefslogtreecommitdiff
path: root/development/newlisp/newlisp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/newlisp/newlisp.SlackBuild')
-rw-r--r--development/newlisp/newlisp.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/newlisp/newlisp.SlackBuild b/development/newlisp/newlisp.SlackBuild
index 7bb41aa971617..e55e9c05e0254 100644
--- a/development/newlisp/newlisp.SlackBuild
+++ b/development/newlisp/newlisp.SlackBuild
@@ -6,10 +6,9 @@
# May 2013
#
# Public domain
-#
PRGNAM=newlisp
-VERSION=10.5.4
+VERSION=${VERSION:-10.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,10 +48,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# no C{,XX}FLAGS should apply or build will die
./configure-alt \
@@ -66,6 +65,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd doc