mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/dnscrypt-wrapper: Updated for version 0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0ccaf09955
commit
dee0e940fb
2 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="dnscrypt-wrapper"
|
||||
VERSION="0.2.1"
|
||||
HOMEPAGE="https://github.com/Cofyc/dnscrypt-wrapper"
|
||||
DOWNLOAD="https://github.com/Cofyc/dnscrypt-wrapper/archive/v0.2.1.tar.gz"
|
||||
MD5SUM="bf970f17d4a695d863833f39e1830f47"
|
||||
VERSION="0.3"
|
||||
HOMEPAGE="https://github.com/cofyc/dnscrypt-wrapper"
|
||||
DOWNLOAD="https://github.com/cofyc/dnscrypt-wrapper/archive/v0.3.tar.gz"
|
||||
MD5SUM="4f567a4e5a852f72a6be57c7de251c85"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libsodium"
|
||||
|
|
Loading…
Reference in a new issue