diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-07-25 16:48:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-25 16:48:15 +0700 |
commit | 76a0567b7136e5793909c3c786b3879f853fe171 (patch) | |
tree | e06c40ea5e884c9b01eaaea12d55fa72a9ea5593 /network/google-cli/google-cli.SlackBuild | |
parent | 6cd4c1f0186cf33ee00e8a7dd97e17ede254eabb (diff) | |
download | slackbuilds-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/google-cli.SlackBuild')
-rw-r--r-- | network/google-cli/google-cli.SlackBuild | 10 |
1 files changed, 6 insertions, 4 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 |