aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-12-29 13:59:12 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:39 +0700
commit19bdc7a7b572d1ea20e9a6e3b3ac193130021f37 (patch)
treef03c191e8682cfcbdfcbede0cceee4a51f7eb69f
parent59046bf24c9c0934e0e2eb08bcfbfefcb2ed30a1 (diff)
accessibility/unclutter: Add SlackBuild to doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--accessibility/unclutter/unclutter.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/accessibility/unclutter/unclutter.SlackBuild b/accessibility/unclutter/unclutter.SlackBuild
index 009a12bcfcc6..ef8080a8e60f 100644
--- a/accessibility/unclutter/unclutter.SlackBuild
+++ b/accessibility/unclutter/unclutter.SlackBuild
@@ -6,11 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221229 bkw: add missing SlackBuild to doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unclutter
VERSION=${VERSION:-1.09}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,8 +77,10 @@ cp -a $PRGNAM $PKG/usr/bin
mkdir -p $PKG/usr/man/man1
gzip -9c $PRGNAM.man > $PKG/usr/man/man1/$PRGNAM.1.gz
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc