diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-08-18 04:07:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 10:06:38 +0700 |
commit | 24732e7aa4ef50b68e6e6d12d49220eae01ffe8e (patch) | |
tree | e8d5260c94bced6e319da6c29509eb0e359d8f7a /system/lxqt-config | |
parent | 1a0420288747daeff53ff33749da68241269c22c (diff) |
system/lxqt-config: Fix man pages.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lxqt-config')
-rw-r--r-- | system/lxqt-config/lxqt-config.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/system/lxqt-config/lxqt-config.SlackBuild b/system/lxqt-config/lxqt-config.SlackBuild index d4c5f36746ec..dcbbfe1d8698 100644 --- a/system/lxqt-config/lxqt-config.SlackBuild +++ b/system/lxqt-config/lxqt-config.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxqt-config VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,6 +38,9 @@ if [ -z "$ARCH" ]; then esac fi +# 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 @@ -95,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION |