summaryrefslogtreecommitdiffstats
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r--system/atop/atop.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index 2ee37eaff6..05f03b1ce0 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -12,7 +12,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=atop
-VERSION=${VERSION:-1.27_3}
+VERSION=${VERSION:-2.0_1}
SRCVERSION=$(printf $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,12 +84,9 @@ touch $PKG/var/log/atop/dummy_{before,after}
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/man/man1
+mkdir -p $PKG/usr/man/man{1,5}
gzip -9c man/atop.1 > $PKG/usr/man/man1/atop.1.gz
gzip -9c man/atopsar.1 > $PKG/usr/man/man1/atopsar.1.gz
-
-# Add the man-page of atoprc too
-mkdir -p $PKG/usr/man/man5
gzip -9c man/atoprc.5 > $PKG/usr/man/man5/atoprc.5.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION