summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-08-02 18:30:29 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:41 +0100
commitfe7f3ece28242b08663bddb04fe9a41d066e54c4 (patch)
treeca95621d4432415597f819fced33fcc7bc51ceb6
parentea4737a027c0ae6c6cef09f4087abe1a142d430a (diff)
downloadslackbuilds-fe7f3ece28242b08663bddb04fe9a41d066e54c4.tar.gz
network/google-cli: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/google-cli/google-cli.SlackBuild8
-rw-r--r--network/google-cli/google-cli.info2
2 files changed, 4 insertions, 6 deletions
diff --git a/network/google-cli/google-cli.SlackBuild b/network/google-cli/google-cli.SlackBuild
index 127de52a8d..5dd36df885 100644
--- a/network/google-cli/google-cli.SlackBuild
+++ b/network/google-cli/google-cli.SlackBuild
@@ -57,15 +57,13 @@ fi
set -e
SRCNAM="googler"
-SRCVER="v2.6"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/network/google-cli/google-cli.info b/network/google-cli/google-cli.info
index 2554a7025a..406088b195 100644
--- a/network/google-cli/google-cli.info
+++ b/network/google-cli/google-cli.info
@@ -1,7 +1,7 @@
PRGNAM="google-cli"
VERSION="2.6"
HOMEPAGE="https://github.com/jarun/google-cli/"
-DOWNLOAD="https://github.com/jarun/googler/archive/v2.6.tar.gz"
+DOWNLOAD="https://github.com/jarun/googler/archive/v2.6/googler-2.6.tar.gz"
MD5SUM="a9f57d28ce3cb163994bad9eff33f415"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""