summaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r--system/atop/atop.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index 05f03b1ce0..ac30abe391 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -12,8 +12,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=atop
-VERSION=${VERSION:-2.0_1}
-SRCVERSION=$(printf $VERSION | tr _ -)
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \