summaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2012-11-20 12:16:03 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-20 12:16:03 -0600
commit264d6ff5505f741653b2d50fcf77a2abcbb9a90a (patch)
treee71aa0aa3095769c737544181f2368fc6a9a6851 /system/atop/atop.SlackBuild
parentf1abc051321f9734209483f849bcbc7137bbdffd (diff)
downloadslackbuilds-264d6ff5505f741653b2d50fcf77a2abcbb9a90a.tar.gz
system/atop: Updated for version 2.0_1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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