aboutsummaryrefslogtreecommitdiff
path: root/libraries/nx-libs/nx-libs.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 16:58:08 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:32 +0700
commit983d4d5fe61051b1643fb5c6f9e676562c69470c (patch)
tree40dd8ee8260fe2e7f7748b25ff6be5065ba14b09 /libraries/nx-libs/nx-libs.SlackBuild
parent3cacb4a08ff20692b5d2036afab386a101befcad (diff)
libraries/nx-libs: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/nx-libs/nx-libs.SlackBuild')
-rw-r--r--libraries/nx-libs/nx-libs.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/nx-libs/nx-libs.SlackBuild b/libraries/nx-libs/nx-libs.SlackBuild
index 50f9f6db9b69..b53f441ee01d 100644
--- a/libraries/nx-libs/nx-libs.SlackBuild
+++ b/libraries/nx-libs/nx-libs.SlackBuild
@@ -103,6 +103,9 @@ chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild