summaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2012-12-16 17:43:50 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:32 -0500
commit6781139ab99d679a775fb04edab5f177ebd6b9cd (patch)
treee990d9314f7d67b6f4ac037384399be84b8cbb32 /system/atop/atop.SlackBuild
parent5348ef7f2af521d72f1ab2a78240964cb4e0815a (diff)
downloadslackbuilds-6781139ab99d679a775fb04edab5f177ebd6b9cd.tar.gz
system/atop: Updated for version 2.0.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 \) \