summaryrefslogtreecommitdiff
path: root/system/zstd/zstd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zstd/zstd.SlackBuild')
-rw-r--r--system/zstd/zstd.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/system/zstd/zstd.SlackBuild b/system/zstd/zstd.SlackBuild
index 20dbd589f1..cc34e10507 100644
--- a/system/zstd/zstd.SlackBuild
+++ b/system/zstd/zstd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zstd
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,12 +72,8 @@ find -L . \
make CFLAGS="$SLKCFLAGS" DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib$LIBDIRSUFFIX mandir=/usr/man/ install
make -C contrib/pzstd DESTDIR=$PKG PREFIX=/usr install
-cd $PKG/usr/man/man1
- rm unzstd.1 zstdcat.1
- gzip -9 zstd.1
- ln -s zstd.1.gz unzstd.1.gz
- ln -s zstd.1.gz zstdcat.1.gz
-cd -
+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/pzstd
cp -a doc/* NEWS $PKG/usr/doc/$PRGNAM-$VERSION