summaryrefslogtreecommitdiffstats
path: root/system/glances/glances.SlackBuild
diff options
context:
space:
mode:
author Philip Lacroix <philnx at posteo dot de>2015-02-14 10:40:17 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-14 10:40:17 +0700
commit1f6a6234c81df87681b70982c5650c150c827bbf (patch)
treeb0b8840d8f17f08fd2141be13bfd00843bbc87a9 /system/glances/glances.SlackBuild
parentf7ba97debbc7b29583746307e18fef4ba13b144c (diff)
downloadslackbuilds-1f6a6234c81df87681b70982c5650c150c827bbf.tar.gz
slackbuilds-1f6a6234c81df87681b70982c5650c150c827bbf.tar.xz
system/glances: Update optional dependencies.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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