diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-09 17:18:13 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:11 +0700 |
commit | 67b0887549837affa04a1315c80af9dbce26ca0e (patch) | |
tree | 25d6a8e0f2d2d5cdc1eb409596655f2bfb9f54d9 /graphics/lddot/lddot.SlackBuild | |
parent | 91eca18200eb52c6c6ba982ec4fc5b3234d9dae9 (diff) | |
download | slackbuilds-67b0887549837affa04a1315c80af9dbce26ca0e.tar.gz |
graphics/lddot: Install man page correctly.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/lddot/lddot.SlackBuild')
-rw-r--r-- | graphics/lddot/lddot.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild index 5060143b30..9c1cf64e7c 100644 --- a/graphics/lddot/lddot.SlackBuild +++ b/graphics/lddot/lddot.SlackBuild @@ -6,19 +6,18 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210909 bkw: BUILD=2, actually install the man page in /usr/man. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lddot VERSION=${VERSION:-0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -40,8 +39,10 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/bin $PKG/usr/man/man1 install -m0755 $PRGNAM $PKG/usr/bin +gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz +rm -f doc/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION |