Skip to content

Commit

Permalink
electrum: re-add and update to 4.4.5; adopt
Browse files Browse the repository at this point in the history
  • Loading branch information
ar-jan authored and lemmi committed Aug 31, 2023
1 parent 578095f commit 72618f1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions srcpkgs/electrum/files/README.voidlinux
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Some optional packages must be installed for additional functionality:

- python3-matplotlib: plot transaction history in graphical mode
32 changes: 32 additions & 0 deletions srcpkgs/electrum/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file for 'electrum'
pkgname=electrum
version=4.4.5
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib
python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5
python3-qrcode python3-socks python3-cryptography libsecp256k1
python3-certifi libzbar"
# Optional dependencies:
# btchip - BTChip hardware wallet support
# trezor - TREZOR hardware wallet support
# keepkey - KeepKey hardware wallet support
# qdarkstyle - Dark theme
checkdepends="$depends python3-pytest"
short_desc="Lightweight Bitcoin wallet"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://electrum.org/"
changelog="https://raw.githubusercontent.com/spesmilo/electrum/master/RELEASE-NOTES"
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
checksum=8e0f7717c8df060b1b7771604dcde28568ad3e7fd88282c84a1b3ac839d9721c

post_install() {
vsed -i -e 's|electrum %u|electrum|' \
-e 's|testnet %u|testnet|' \
${DESTDIR}/usr/share/applications/electrum.desktop
vlicense LICENCE
vdoc "${FILESDIR}/README.voidlinux"
}
2 changes: 2 additions & 0 deletions srcpkgs/electrum/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site="https://download.electrum.org"
pattern='<a href="\K[\d.]+(?=/">)'

0 comments on commit 72618f1

Please sign in to comment.