summaryrefslogtreecommitdiff
path: root/system/zpaq/zpaq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zpaq/zpaq.SlackBuild')
-rw-r--r--system/zpaq/zpaq.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/system/zpaq/zpaq.SlackBuild b/system/zpaq/zpaq.SlackBuild
index afe087ed25..52bbcdbd16 100644
--- a/system/zpaq/zpaq.SlackBuild
+++ b/system/zpaq/zpaq.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zpaq
-# Copyright 2013, Christoph Willing, Australia
+# Copyright 2013-2014, Christoph Willing, Australia
# 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=zpaq
-VERSION=${VERSION:-6.25}
+VERSION=${VERSION:-6.54}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,10 +65,10 @@ cd $PRGNAM-$VERSION
unzip $CWD/${PRGNAM}${VERSION/./}.zip
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 {} \;
g++ \
$SLKCFLAGS -s -Dunix -DNDEBUG -fopenmp -o $PRGNAM \
@@ -89,9 +89,7 @@ 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
-cp -a \
- readme.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
gzip -dc $CWD/$PRGNAM.rst.gz > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.rst
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild