diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-31 11:16:26 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:47 +0700 |
commit | 5f699a8b0ebd4a04ceaa1ed13bc79bb783f8292e (patch) | |
tree | 1600695cc456d432dc28ee1f53b68b979ab2785c | |
parent | d1d3252b0cd083351b52a0f2fb1d18a80332d99b (diff) |
network/2ping: Add SlackBuild to doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/2ping/2ping.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/network/2ping/2ping.SlackBuild b/network/2ping/2ping.SlackBuild index 6a787069a3d87..34794b38d9365 100644 --- a/network/2ping/2ping.SlackBuild +++ b/network/2ping/2ping.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220331 bkw: BUILD=2, add SlackBuild to doc dir. # 20210911 bkw: update for v4.5.1. # 20200805 bkw: update for v4.5. # 20191130 bkw: update for v4.3. @@ -19,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=2ping VERSION=${VERSION:-4.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,9 +73,12 @@ fi mkdir -p $PKG/usr/man/man1 gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/wireshark -cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION -cp -a wireshark/*.pcap $PKG/usr/doc/$PRGNAM-$VERSION/wireshark + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC/wireshark +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKGDOC +cp -a wireshark/*.pcap $PKGDOC/wireshark mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |