accessibility/wgetpaste: Add missing doc dir.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-07-04 22:33:41 -04:00 committed by Willy Sudiarto Raharjo
parent dcaf9410e7
commit 40f9200341
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230704 bkw: BUILD=2
# - Add doc dir. WTF was I smoking?
# 20201024 bkw: Attempted update for v2.30, but it appears to be
# broken. The default dpaste service works fine in 2.29 and not
# at all in 2.30. Only reason I'm "updating" the build is to add
@ -41,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wgetpaste
VERSION=${VERSION:-2.29}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -95,6 +98,11 @@ install -groot -oroot -m0755 $CWD/${PRGNAM}_info $PKG/usr/bin
# Man page made from --help output, by way of POD.
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a LICENSE $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc