From 9b7256b33f1d07c3077c83cef224dfac77e262d5 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 | 30 ++++++++++++++++++++++++++++++ 2 files changed, 33 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..a60a4a968493 --- /dev/null +++ b/srcpkgs/electrum-grs/template @@ -0,0 +1,30 @@ +# Template file for 'electrum-grs' +pkgname=electrum-grs +version=4.2.0 +revision=1 +create_wrksrc=yes +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/archive/refs/tags/v${version}.tar.gz" +checksum=71838f3a7aa16f22ed27af7fde687d62d0275d7abb1e24fe3b26966c39d9fa8e + +post_install() { + vsed -i -e 's|electrum-grs %u|electrum-grs|' \ + -e 's|testnet %u|testnet|' \ + ${DESTDIR}/usr/share/applications/electrum-grs.desktop + vlicense LICENCE +}