diff options
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r-- | system/atop/atop.SlackBuild | 11 |
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 \) \ |