summaryrefslogtreecommitdiff
path: root/python/trezor/trezor.SlackBuild
diff options
context:
space:
mode:
authorReedych <reedych@reedych.pw>2017-01-29 18:43:26 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-04 06:59:28 +0700
commit9c3269c2e8c0957d1c301edfde6dfa5475355cee (patch)
treec12f10618ba32b8ba011d9db5f9e26d5bb931c62 /python/trezor/trezor.SlackBuild
parent399b64dcbe597521f78bfbd15aa6320923f67ccf (diff)
downloadslackbuilds-9c3269c2e8c0957d1c301edfde6dfa5475355cee.tar.gz
python/trezor: Updated for version 0.7.9.post1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/trezor/trezor.SlackBuild')
-rw-r--r--python/trezor/trezor.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/python/trezor/trezor.SlackBuild b/python/trezor/trezor.SlackBuild
index ca54653ac2..56c81dc4f2 100644
--- a/python/trezor/trezor.SlackBuild
+++ b/python/trezor/trezor.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for trezor
-# Copyright (c) 2016 Reedych <reedych@reedych.pw>
+# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=trezor
-VERSION=${VERSION:-0.7.6}
+VERSION=${VERSION:-0.7.9.post1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=python-$PRGNAM
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -59,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \