aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-07-04 22:33:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:07 +0700
commit40f920034106c4b31145d6bed48d323c9fbbe1d4 (patch)
treea588815287fab10120f7c6e9795fc081861ed526 /accessibility
parentdcaf9410e7d683c361868e86ee917f26175fcfe0 (diff)
accessibility/wgetpaste: Add missing doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index 3e09dfe8ad0b..4f86a2d819bb 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -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