diff options
Diffstat (limited to 'network/bitcoin')
-rw-r--r-- | network/bitcoin/README | 3 | ||||
-rw-r--r-- | network/bitcoin/bitcoin-qt.desktop | 2 | ||||
-rw-r--r-- | network/bitcoin/bitcoin.SlackBuild | 13 | ||||
-rw-r--r-- | network/bitcoin/bitcoin.info | 6 | ||||
-rw-r--r-- | network/bitcoin/doinst.sh | 7 |
5 files changed, 19 insertions, 12 deletions
diff --git a/network/bitcoin/README b/network/bitcoin/README index 36d38a4e0e..5bf0e15704 100644 --- a/network/bitcoin/README +++ b/network/bitcoin/README @@ -9,7 +9,4 @@ of a P2P network to check for double-spending. Bitcoin Core connects to the Bitcoin peer-to-peer network to download and fully validate blocks and transactions. -Please make sure to read the release notes first before upgrading: -https://bitcoincore.org/en/releases/29.0/ - zeromq is an optional dependency (autodetected). diff --git a/network/bitcoin/bitcoin-qt.desktop b/network/bitcoin/bitcoin-qt.desktop index 858ab28e53..dc91740986 100644 --- a/network/bitcoin/bitcoin-qt.desktop +++ b/network/bitcoin/bitcoin-qt.desktop @@ -3,7 +3,7 @@ Name=Bitcoin-Core GenericName=Bitcoin QT-Client Comment=Bitcoin client to send and receive money Exec=/usr/bin/bitcoin-qt -Icon=bitcoin +Icon=bitcoin-qt StartupNotify=true Terminal=false Type=Application diff --git a/network/bitcoin/bitcoin.SlackBuild b/network/bitcoin/bitcoin.SlackBuild index 572c671bdc..d738e08640 100644 --- a/network/bitcoin/bitcoin.SlackBuild +++ b/network/bitcoin/bitcoin.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bitcoin -VERSION=${VERSION:-29.0} +VERSION=${VERSION:-29.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -111,10 +111,15 @@ cd .. rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -mkdir -p $PKG/usr/share/{applications,pixmaps} +install -Dm 0644 src/qt/res/src/bitcoin.svg \ + $PKG/usr/share/icons/hicolor/scalable/apps/bitcoin-qt.svg +install -Dm 0644 $CWD/bitcoin-qt.desktop \ + $PKG/usr/share/applications/bitcoin-qt.desktop -install -m 0644 src/qt/res/icons/bitcoin.png $PKG/usr/share/pixmaps/ -install -m 0644 $CWD/bitcoin-qt.desktop $PKG/usr/share/applications/ +for i in 16 32 64 128 256; do + install -Dm 0644 share/pixmaps/bitcoin${i}.png \ + $PKG/usr/share/icons/hicolor/${i}x${i}/apps/bitcoin-qt.png +done find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/network/bitcoin/bitcoin.info b/network/bitcoin/bitcoin.info index d148721641..79e3ffccfd 100644 --- a/network/bitcoin/bitcoin.info +++ b/network/bitcoin/bitcoin.info @@ -1,8 +1,8 @@ PRGNAM="bitcoin" -VERSION="29.0" +VERSION="29.1" HOMEPAGE="https://bitcoincore.org" -DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-29.0/bitcoin-29.0.tar.gz" -MD5SUM="2fc939451a3755f92906cf3e6ee11e32" +DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-29.1/bitcoin-29.1.tar.gz" +MD5SUM="e48c029a5eaf93116e56402697a881e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cmake-opt" diff --git a/network/bitcoin/doinst.sh b/network/bitcoin/doinst.sh index 140e332222..fd1bca3b49 100644 --- a/network/bitcoin/doinst.sh +++ b/network/bitcoin/doinst.sh @@ -1,3 +1,8 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications + /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 |