summaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-10-01 14:16:08 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-10-01 08:43:51 -0500
commit87766b9a8d79b0e03d19f7c477ca58bdbf44640a (patch)
treee5a215a17b9fbca4d0d78ac581122daf3f028bcf /system/atop/atop.SlackBuild
parent27d3b5d1fb8635367454c8f0115fd305ee39196c (diff)
downloadslackbuilds-87766b9a8d79b0e03d19f7c477ca58bdbf44640a.tar.gz
system/atop: Updated for version 1.27_3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r--system/atop/atop.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index c0100af471..2ee37eaff6 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -12,8 +12,9 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=atop
-VERSION=${VERSION:-1.26}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.27_3}
+SRCVERSION=$(printf $VERSION | tr _ -)
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -48,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \