summaryrefslogtreecommitdiff
path: root/network/google-cli
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-07-25 16:48:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-25 16:48:15 +0700
commit76a0567b7136e5793909c3c786b3879f853fe171 (patch)
treee06c40ea5e884c9b01eaaea12d55fa72a9ea5593 /network/google-cli
parent6cd4c1f0186cf33ee00e8a7dd97e17ede254eabb (diff)
downloadslackbuilds-76a0567b7136e5793909c3c786b3879f853fe171.tar.gz
network/google-cli: Updated for version 2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/google-cli')
-rw-r--r--network/google-cli/google-cli.SlackBuild10
-rw-r--r--network/google-cli/google-cli.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/network/google-cli/google-cli.SlackBuild b/network/google-cli/google-cli.SlackBuild
index 5f76af2808..127de52a8d 100644
--- a/network/google-cli/google-cli.SlackBuild
+++ b/network/google-cli/google-cli.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-cli
-VERSION=${VERSION:-1.9}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,15 @@ fi
set -e
-SRCVER="v1.9"
+SRCNAM="googler"
+SRCVER="v2.6"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
+mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -82,7 +84,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING google-cli.png README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/google-cli/google-cli.info b/network/google-cli/google-cli.info
index acc6b072ef..2554a7025a 100644
--- a/network/google-cli/google-cli.info
+++ b/network/google-cli/google-cli.info
@@ -1,8 +1,8 @@
PRGNAM="google-cli"
-VERSION="1.9"
+VERSION="2.6"
HOMEPAGE="https://github.com/jarun/google-cli/"
-DOWNLOAD="https://github.com/jarun/google-cli/archive/v1.9.tar.gz"
-MD5SUM="4d23bf9f3b01eda68145d718c5a7f507"
+DOWNLOAD="https://github.com/jarun/googler/archive/v2.6.tar.gz"
+MD5SUM="a9f57d28ce3cb163994bad9eff33f415"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""