summaryrefslogtreecommitdiff
path: root/system/glances/glances.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/glances/glances.SlackBuild')
-rw-r--r--system/glances/glances.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/glances/glances.SlackBuild b/system/glances/glances.SlackBuild
index be96646c42..b584404c41 100644
--- a/system/glances/glances.SlackBuild
+++ b/system/glances/glances.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=glances
VERSION=${VERSION:-2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -47,12 +47,12 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-# The upstream tarball will be named differently, depending on the file being
-# downloaded manually (web browser) or with wget.
+# The upstream tarball will be named differently, depending on the file
+# being downloaded manually (web browser) or with wget.
if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
+ tar xvzf $CWD/v$VERSION.tar.gz
else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+ tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
fi
cd $PRGNAM-$VERSION
@@ -64,8 +64,8 @@ find -L . \
-o -perm 400 \) -exec chmod 644 {} \;
PRGUSR=$PKG/usr
-PRGETC=$PKG/etc/$PRGNAM
PRGSHR=$PKG/usr/share
+PRGETC=$PKG/etc/$PRGNAM
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
python setup.py install --root=$PKG