aboutsummaryrefslogtreecommitdiff
path: root/network/google-cli
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-11-05 00:58:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-05 00:58:31 +0700
commitde0bd3394e0bbbd3ae2de482f859ea08b0335847 (patch)
treed4fe5d51f95ce6e25ecfffd1fc53995f531a844c /network/google-cli
parent22d4769ff4fccbdd97819325dd4df5b21e16793b (diff)
network/google-cli: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/google-cli')
-rw-r--r--network/google-cli/google-cli.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/google-cli/google-cli.SlackBuild b/network/google-cli/google-cli.SlackBuild
index 05f0ff663ac91..4f96bf6188289 100644
--- a/network/google-cli/google-cli.SlackBuild
+++ b/network/google-cli/google-cli.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=google-cli
VERSION=${VERSION:-1.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,8 +71,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make
-
install -d $PKG/usr/{bin,doc,man/man1}
install -D -m755 googler $PKG/usr/bin/googler
install -D -m644 googler.1 $PKG/usr/man/man1/googler.1
@@ -83,10 +81,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-DOCS="COPYING google-cli.png README.md"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING google-cli.png README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install