summaryrefslogtreecommitdiff
path: root/desktop/screenfetch/screenfetch.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-23 08:13:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-23 08:13:31 +0700
commitd165a2a4675a102627f8bd264221613c145ab772 (patch)
treee931c09ce512b4ebb7cb57e247cc4a5f773f8e5d /desktop/screenfetch/screenfetch.SlackBuild
parent3d0fc593a0f9ed2d90e6490601c51c2cbe28f717 (diff)
downloadslackbuilds-d165a2a4675a102627f8bd264221613c145ab772.tar.gz
desktop/screenfetch: Change source URL.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/screenfetch/screenfetch.SlackBuild')
-rw-r--r--desktop/screenfetch/screenfetch.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/screenfetch/screenfetch.SlackBuild b/desktop/screenfetch/screenfetch.SlackBuild
index 7bd2c5269e..325c2ea0f0 100644
--- a/desktop/screenfetch/screenfetch.SlackBuild
+++ b/desktop/screenfetch/screenfetch.SlackBuild
@@ -29,8 +29,9 @@
PRGNAM=screenfetch
VERSION=${VERSION:-3.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+DIRNAME=screenFetch
ARCH=noarch
@@ -47,8 +48,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $DIRNAME-$VERSION
chmod 644 $DOCS
install -m 755 -D $PRGNAM-dev $PKG/usr/bin/$PRGNAM