summaryrefslogtreecommitdiff
path: root/python/py3sensors/py3sensors.SlackBuild
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2017-02-11 23:17:01 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-11 23:18:43 +0000
commitc6fa379f6a75c70f9c8ab4f21437fac4b9550ed3 (patch)
tree39cbee9a7e01bc5bc6f06543f73602d7cc4e129d /python/py3sensors/py3sensors.SlackBuild
parent049e1360fd4b6c41bd1baa89a3c4b1efd12d6e5f (diff)
downloadslackbuilds-c6fa379f6a75c70f9c8ab4f21437fac4b9550ed3.tar.gz
python/py3sensors: Fix md5sum, switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/py3sensors/py3sensors.SlackBuild')
-rw-r--r--python/py3sensors/py3sensors.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/py3sensors/py3sensors.SlackBuild b/python/py3sensors/py3sensors.SlackBuild
index 4ee9b2de94..1df55add9c 100644
--- a/python/py3sensors/py3sensors.SlackBuild
+++ b/python/py3sensors/py3sensors.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for py3sensors
-# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=py3sensors
-SRCNAM=gleb_zhulik-$PRGNAM
VERSION=${VERSION:-0cf96f4e2cfe}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+SRCNAM=gleb_zhulik-$PRGNAM
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -48,8 +49,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-# The upstream tarball will be named differently, depending on
-# the file being downloaded manually (web browser) or with wget.
+# The source tarball will be named differently, depending
+# on the file being downloaded with a web browser or wget.
if [ -e $CWD/$VERSION.zip ]; then
unzip $CWD/$VERSION.zip
else