network/googlecl: Updated for version 0.9.15.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-04-11 08:47:36 +07:00
parent 9285f8cd1d
commit b2c48fec5d
2 changed files with 12 additions and 14 deletions

View File

@ -5,13 +5,13 @@
# Written by Jakob Nylin <jakob[dot]nylin[at]gmail[dot]com>
PRGNAM=googlecl
VERSION=${VERSION:-0.9.12}
VERSION=${VERSION:-0.9.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -32,20 +32,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
mkdir -p $PKG/usr/man/man1
gzip -9c man/google.1 > $PKG/usr/man/man1/google.1.gz
gzip -9c docs/man/google.1 > $PKG/usr/man/man1/google.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
INSTALL.txt README* changelog \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a README* changelog $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="googlecl"
VERSION="0.9.12"
HOMEPAGE="http://code.google.com/p/googlecl/"
DOWNLOAD="http://googlecl.googlecode.com/files/googlecl-0.9.12.tar.gz"
MD5SUM="a7470a169871ae4918e5b146f025364b"
VERSION="0.9.15"
HOMEPAGE="https://github.com/vinitkumar/googlecl"
DOWNLOAD="https://github.com/vinitkumar/googlecl/archive/v0.9.15/googlecl-0.9.15.tar.gz"
MD5SUM="76c96871c69ec1272b31e808cb0a3cac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdata"