summaryrefslogtreecommitdiff
path: root/libraries/libxkbcommon/libxkbcommon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libxkbcommon/libxkbcommon.SlackBuild')
-rw-r--r--libraries/libxkbcommon/libxkbcommon.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libxkbcommon/libxkbcommon.SlackBuild b/libraries/libxkbcommon/libxkbcommon.SlackBuild
index 54d84a1a2d..23798c20fc 100644
--- a/libraries/libxkbcommon/libxkbcommon.SlackBuild
+++ b/libraries/libxkbcommon/libxkbcommon.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=libxkbcommon
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -82,6 +82,10 @@ meson --prefix /usr --mandir /usr/man --libdir lib${LIBDIRSUFFIX} -Denable-wayla
DESTDIR=$PKG ninja -C build all install
+# Compress man files
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+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 LICENSE README.md NEWS PACKAGING doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild