aboutsummaryrefslogtreecommitdiff
path: root/accessibility/wgetpaste/wgetpaste.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-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 3e09dfe8ad0be..4f86a2d819bbc 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