From 0d5a4126e7387f909f7a83e72dc7ff2242eda958 Mon Sep 17 00:00:00 2001 From: gruve-p Date: Sun, 17 Apr 2022 10:37:10 +0200 Subject: [PATCH] New package: electrum-grs-4.2.0 --- srcpkgs/electrum-grs/INSTALL.msg | 3 +++ srcpkgs/electrum-grs/template | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/electrum-grs/INSTALL.msg create mode 100644 srcpkgs/electrum-grs/template diff --git a/srcpkgs/electrum-grs/INSTALL.msg b/srcpkgs/electrum-grs/INSTALL.msg new file mode 100644 index 000000000000..9ba377487dac --- /dev/null +++ b/srcpkgs/electrum-grs/INSTALL.msg @@ -0,0 +1,3 @@ +Some optional packages must be installed for additional functionality: + +- python3-matplotlib: plot transaction history in graphical mode diff --git a/srcpkgs/electrum-grs/template b/srcpkgs/electrum-grs/template new file mode 100644 index 000000000000..f800a5ef8f85 --- /dev/null +++ b/srcpkgs/electrum-grs/template @@ -0,0 +1,29 @@ +# Template file for 'electrum-grs' +pkgname=electrum-grs +version=4.2.0 +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 libbitcoin-secp256k1 + python3-certifi" +# Optional dependencies: +# btchip - BTChip hardware wallet support +# trezor - TREZOR hardware wallet support +# keepkey - KeepKey hardware wallet support +# qdarkstyle - Dark theme +short_desc="Lightweight Groestlcoin wallet" +maintainer="Groestlcoin developers " +license="MIT" +homepage="https://www.groestlcoin.org/groestlcoin-electrum-wallet/" +distfiles="https://github.com/Groestlcoin/electrum-grs/releases/download/v${version}/Electrum-grs-${version}.tar.gz" +checksum=196de3e79e785a32acf54ebfe38f9ba74e615248d0b68a1a26533526ff8e48db + +post_install() { + sed -i -e 's|electrum-grs %u|electrum-grs|' \ + -e 's|testnet %u|testnet|' \ + ${DESTDIR}/usr/share/applications/electrum-grs.desktop + vlicense LICENCE +}