aboutsummaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 02:04:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 02:04:50 +0700
commit28128e579d67ae6efa5bf7252c0f7197b8c6345e (patch)
treeda13ff37271395e11bf3fe32f03b4bf41d74b610 /system/atop/atop.SlackBuild
parent0e6d60e67daa6c5fc44207fd32f7cbc8152e82bc (diff)
system/atop: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r--system/atop/atop.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index ddf0eaf0d0bd0..3a3b39c176399 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -12,9 +12,8 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=atop
-VERSION=${VERSION:-2.2}
-SRCVER=$(echo ${VERSION}-3)
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.3.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -49,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \