diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-18 08:55:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-27 07:43:46 +0700 |
commit | f6989706db3960c2ccb95a4ca26070a0eb343edd (patch) | |
tree | 724298e17a29a6d2797c74c70ec74f67bcd61be8 /network/Electrum/Electrum.SlackBuild | |
parent | e9ba7b0b80373f8a9bce8cf2b0869cd2b641001f (diff) | |
download | slackbuilds-f6989706db3960c2ccb95a4ca26070a0eb343edd.tar.gz |
network/Electrum: Updated for version 3.0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/Electrum/Electrum.SlackBuild')
-rw-r--r-- | network/Electrum/Electrum.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/network/Electrum/Electrum.SlackBuild b/network/Electrum/Electrum.SlackBuild index 8893974e93..7abb56c76d 100644 --- a/network/Electrum/Electrum.SlackBuild +++ b/network/Electrum/Electrum.SlackBuild @@ -23,9 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Electrum -SRCNAM=electrum -VERSION=${VERSION:-2.9.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$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 \ @@ -70,8 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -pyrcc4 icons.qrc -o gui/qt/icons_rc.py -python setup.py install --root=$PKG +pyrcc5 icons.qrc -o gui/qt/icons_rc.py +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |