diff options
Diffstat (limited to 'python/py3sensors/py3sensors.SlackBuild')
-rw-r--r-- | python/py3sensors/py3sensors.SlackBuild | 13 |
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 |