diff options
author | T3slider <t3slider@gmail.com> | 2017-07-17 06:47:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-22 06:55:34 +0700 |
commit | dee0e940fbdb7f28b2f4f4f8de8f56ccd3b917e7 (patch) | |
tree | 390f7ed3fb8da0cbe8bf75099d291e4001697eb4 /network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild | |
parent | 0ccaf099552cd827488169c78140c70722b2f180 (diff) |
network/dnscrypt-wrapper: Updated for version 0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild')
-rw-r--r-- | network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild index 403520f8261cd..aa9acc397ec01 100644 --- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild +++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dnscrypt-wrapper -# Copyright 2016 T3slider <t3slider@gmail.com> +# Copyright 2017 T3slider <t3slider@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Thanks to Larry Hajali for the logrotate configuration and the help2man -# suggestion. +# Thanks to Larry Hajali for the logrotate configuration PRGNAM=dnscrypt-wrapper -VERSION=${VERSION:-0.2.1} +VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -94,9 +93,8 @@ 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 -# Man page made by help2man mkdir -p $PKG/usr/man/man8 -gzip -9c $CWD/$PRGNAM.8 > $PKG/usr/man/man8/$PRGNAM.8.gz +gzip -9c debian/$PRGNAM.8 > $PKG/usr/man/man8/$PRGNAM.8.gz mkdir -p $PKG/var/{lib,run,log}/$PRGNAM $PKG/etc/default chmod 0700 $PKG/var/{lib,run,log}/$PRGNAM @@ -106,7 +104,7 @@ install -D -m 0644 $CWD/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING README.md TODO \ + COPYING README.md \ $PKG/usr/doc/$PRGNAM-$VERSION sed "s/@VERSION@/$VERSION/g" $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |