summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Isaac Yu2022-08-18 05:07:12 +0200
committer Willy Sudiarto Raharjo2022-08-20 05:06:38 +0200
commit24732e7aa4ef50b68e6e6d12d49220eae01ffe8e (patch)
treee8d5260c94bced6e319da6c29509eb0e359d8f7a /system
parent1a0420288747daeff53ff33749da68241269c22c (diff)
downloadslackbuilds-24732e7aa4ef50b68e6e6d12d49220eae01ffe8e.tar.gz
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')
-rw-r--r--system/lxqt-config/lxqt-config.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/lxqt-config/lxqt-config.SlackBuild b/system/lxqt-config/lxqt-config.SlackBuild
index d4c5f36746..dcbbfe1d86 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