summaryrefslogtreecommitdiffstats
path: root/desktop/screenfetch/screenfetch.SlackBuild
diff options
context:
space:
mode:
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