summaryrefslogtreecommitdiffstats
path: root/source/l/libgtop/libgtop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libgtop/libgtop.SlackBuild')
-rwxr-xr-xsource/l/libgtop/libgtop.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/l/libgtop/libgtop.SlackBuild b/source/l/libgtop/libgtop.SlackBuild
index f1761772c..d1a9a8237 100755
--- a/source/l/libgtop/libgtop.SlackBuild
+++ b/source/l/libgtop/libgtop.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libgtop
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -112,6 +112,14 @@ for i in $( find $PKG/usr/man -type l ) ; do
rm $i
done
+# Compress info files, if any:
+if [ -d $PKG/usr/info ]; then
+ ( cd $PKG/usr/info
+ rm -f dir
+ gzip -9 *
+ )
+fi
+
# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \