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