diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2018-10-21 05:01:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-21 05:20:54 +0700 |
commit | 4dbdf4bb2b71c162e9b31bf5a00bfb28fd9d00ed (patch) | |
tree | 18362c322c2ce302397b20f433117ac51dcfa49d /system/zstd/zstd.SlackBuild | |
parent | fd2864f29c4df1ca2e69c73256aebe506b394a15 (diff) |
system/zstd: Updated for version 1.3.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/zstd/zstd.SlackBuild')
-rw-r--r-- | system/zstd/zstd.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/system/zstd/zstd.SlackBuild b/system/zstd/zstd.SlackBuild index 20dbd589f168..cc34e105078d 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 |