From 9b7256b33f1d07c3077c83cef224dfac77e262d5 Mon Sep 17 00:00:00 2001 From: gruve-p Date: Sun, 17 Apr 2022 10:37:10 +0200 Subject: [PATCH 1/2] 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 +} From 280f6f06de940172584fa7e05170b18a50c01b3e Mon Sep 17 00:00:00 2001 From: gruve-p Date: Tue, 19 Apr 2022 18:27:33 +0200 Subject: [PATCH 2/2] fix --- srcpkgs/electrum-grs/INSTALL.msg | 3 --- srcpkgs/electrum-grs/template | 6 ------ 2 files changed, 9 deletions(-) delete mode 100644 srcpkgs/electrum-grs/INSTALL.msg diff --git a/srcpkgs/electrum-grs/INSTALL.msg b/srcpkgs/electrum-grs/INSTALL.msg deleted file mode 100644 index 9ba377487dac..000000000000 --- a/srcpkgs/electrum-grs/INSTALL.msg +++ /dev/null @@ -1,3 +0,0 @@ -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 index a60a4a968493..023669c8d344 100644 --- a/srcpkgs/electrum-grs/template +++ b/srcpkgs/electrum-grs/template @@ -2,7 +2,6 @@ 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 @@ -10,11 +9,6 @@ depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx 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"