summaryrefslogtreecommitdiff
path: root/python/httplib2/httplib2.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-03-10 12:43:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-14 16:55:53 +0700
commit0e3fb4668163e3bba8a17cce2677a95018d0ad65 (patch)
tree787017f19777f34592f5cd0311107759f0c24856 /python/httplib2/httplib2.SlackBuild
parent32cb8db1a07a1c0a45fedfb973532844483cf07f (diff)
downloadslackbuilds-0e3fb4668163e3bba8a17cce2677a95018d0ad65.tar.gz
python/httplib2: Updated for version 0.9, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/httplib2/httplib2.SlackBuild')
-rw-r--r--python/httplib2/httplib2.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/httplib2/httplib2.SlackBuild b/python/httplib2/httplib2.SlackBuild
index d9e910a83c..28800c5212 100644
--- a/python/httplib2/httplib2.SlackBuild
+++ b/python/httplib2/httplib2.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for httplib2
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013
+# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=httplib2
-VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,7 +56,7 @@ fi
PYTHON=python
[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-DOCS="CHANGELOG README"
+DOCS="CHANGELOG README.md"
set -e
@@ -64,12 +64,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$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 \
+ -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 {} \;