network/google-cli: Updated for version 3.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-03-13 21:50:02 +00:00 committed by Willy Sudiarto Raharjo
parent 7996a3e444
commit c051b5aa5e
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 18 additions and 17 deletions

View file

@ -1,11 +1,12 @@
google-cli (Google Search from command line)
google-cli is a command line tool to search Google (Web & News)
from the terminal. It shows the title, URL and text context for each
result. Results are fetched in pages. Next or previous page navigation is
possible using keyboard shortcuts. Results are indexed and a result URL
can be opened in a browser using the index number. Supports sequential
searches in a single instance.
google-cli is a command line tool to search Google (Web & News) from
the terminal. It shows the title, URL and text context for each
result. Results are fetched in pages.
google-cli is GPLv3 licensed. It doesn't have any affiliation to Google
in any way.
Next or previous page navigation is possible using keyboard shortcuts.
Results are indexed and a result URL can be opened in a browser using
the index number. Supports sequential searches in a single instance.
google-cli is GPLv3 licensed. It doesn't have any affiliation to
Google in any way.

View file

@ -2,7 +2,7 @@
#
# Slackware build script for google-cli.
#
# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-cli
VERSION=${VERSION:-2.9}
VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -54,10 +54,10 @@ else
LIBDIRSUFFIX=""
fi
set -e
SRCNAM="googler"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@ -93,7 +93,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 LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="google-cli"
VERSION="2.9"
VERSION="3.0"
HOMEPAGE="https://github.com/jarun/google-cli/"
DOWNLOAD="https://github.com/jarun/googler/archive/v2.9/googler-2.9.tar.gz"
MD5SUM="e2f6d2a2a666c6691cb1a38a52f3aec1"
DOWNLOAD="https://github.com/jarun/googler/archive/v3.0/googler-3.0.tar.gz"
MD5SUM="dfd610fc4137ae35ec42bff3fd1a7bcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"

View file

@ -9,7 +9,7 @@
google-cli: google-cli (Google Search from command line)
google-cli:
google-cli: google-cli is a command line tool to search Google (Web & News) from
google-cli: the terminal. It shows the title, URL and text context for each
google-cli: the terminal. It shows the title, URL and text context for each
google-cli: result. Results are fetched in pages.
google-cli:
google-cli: Home page: http://sourceforge.net/projects/google-cli/