diff options
author | Brenton Earl <brent@exitstatusone.com> | 2020-09-16 07:44:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-16 07:44:38 +0700 |
commit | 1c8a77bd8188f03c55240a6a3e314d2a5965a8e2 (patch) | |
tree | a7ee69f6b881b0ea47835410ab5ab161dcb8c3cb /network/driftnet/driftnet.SlackBuild | |
parent | 21a5553036070b1348f256589ef6f0874e28f927 (diff) |
network/driftnet: Updated for version 1.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/driftnet/driftnet.SlackBuild')
-rw-r--r-- | network/driftnet/driftnet.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/network/driftnet/driftnet.SlackBuild b/network/driftnet/driftnet.SlackBuild index d9999b0e3b7ea..7b75ac248f21a 100644 --- a/network/driftnet/driftnet.SlackBuild +++ b/network/driftnet/driftnet.SlackBuild @@ -2,7 +2,7 @@ # Slackbuild build script for driftnet # Copyright 2010, JK Wood <joshuakwood@gmail.com> -# Copyright 2017-2018 Brenton Earl <brent@exitstatuosne.com> +# Copyright 2017-2018, 2020 Brenton Earl <brent@exitstatuosne.com> # 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=driftnet -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -87,6 +87,9 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | 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 cp -a COPYING INSTALL CREDITS README.md Changelog TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |