summaryrefslogtreecommitdiffstats
path: root/network/Electrum
diff options
context:
space:
mode:
Diffstat (limited to 'network/Electrum')
-rw-r--r--network/Electrum/Electrum.SlackBuild14
-rw-r--r--network/Electrum/Electrum.info8
-rw-r--r--network/Electrum/README2
-rw-r--r--network/Electrum/doinst.sh5
4 files changed, 18 insertions, 11 deletions
diff --git a/network/Electrum/Electrum.SlackBuild b/network/Electrum/Electrum.SlackBuild
index e997cef95c..aeb84ba274 100644
--- a/network/Electrum/Electrum.SlackBuild
+++ b/network/Electrum/Electrum.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Electrum
# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# Copyright 2019-2021 nomnombtc <nomnombtc@arcor.de>
+# Copyright 2019-2024 nomnombtc <nomnombtc@arcor.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -15,7 +15,7 @@
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Electrum
-VERSION=${VERSION:-4.2.2}
+VERSION=${VERSION:-4.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -60,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -86,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENCE README.rst RELEASE-NOTES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENCE README.md RELEASE-NOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/Electrum/Electrum.info b/network/Electrum/Electrum.info
index 64f3a021cf..8ec5fb14c5 100644
--- a/network/Electrum/Electrum.info
+++ b/network/Electrum/Electrum.info
@@ -1,10 +1,10 @@
PRGNAM="Electrum"
-VERSION="4.2.2"
+VERSION="4.5.5"
HOMEPAGE="https://electrum.org/"
-DOWNLOAD="https://download.electrum.org/4.2.2/Electrum-4.2.2.tar.gz"
-MD5SUM="df2610c748a70f68528e0ce35de73a93"
+DOWNLOAD="https://download.electrum.org/4.5.5/Electrum-4.5.5.tar.gz"
+MD5SUM="2b7d9c6f07881447583e80bfc96e79d7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="protobuf3 cryptography secp256k1 python3-aiohttp python3-aiohttp-socks python3-aiorpcX python-qrcode python-bitstring QDarkStyle"
+REQUIRES="protobuf3 cryptography secp256k1 python3-aiohttp-socks python3-aiorpcX python-qrcode jsonpatch QDarkStyle"
MAINTAINER="nomnombtc"
EMAIL="nomnombtc@arcor.de"
diff --git a/network/Electrum/README b/network/Electrum/README
index 4f876f67f3..17dee0d0d9 100644
--- a/network/Electrum/README
+++ b/network/Electrum/README
@@ -2,3 +2,5 @@ Electrum is an easy to use Bitcoin client.
There is no waiting time when you start the client, because it does
not download the Bitcoin blockchain.
+
+zbar is an optional dependency (enables scanning QRCodes).
diff --git a/network/Electrum/doinst.sh b/network/Electrum/doinst.sh
index 5fb28930db..fd1bca3b49 100644
--- a/network/Electrum/doinst.sh
+++ b/network/Electrum/doinst.sh
@@ -1,3 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi