From 0d5a4126e7387f909f7a83e72dc7ff2242eda958 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 | 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 +} From fe82b41102b29e006ab48751e5f899763b913df7 Mon Sep 17 00:00:00 2001 From: gruve-p Date: Sun, 17 Apr 2022 12:22:32 +0200 Subject: [PATCH 2/2] fix --- srcpkgs/electrum-grs/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/electrum-grs/template b/srcpkgs/electrum-grs/template index f800a5ef8f85..97eeb5fd7378 100644 --- a/srcpkgs/electrum-grs/template +++ b/srcpkgs/electrum-grs/template @@ -2,6 +2,7 @@ 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 @@ -22,7 +23,7 @@ distfiles="https://github.com/Groestlcoin/electrum-grs/releases/download/v${vers checksum=196de3e79e785a32acf54ebfe38f9ba74e615248d0b68a1a26533526ff8e48db post_install() { - sed -i -e 's|electrum-grs %u|electrum-grs|' \ + vsed -i -e 's|electrum-grs %u|electrum-grs|' \ -e 's|testnet %u|testnet|' \ ${DESTDIR}/usr/share/applications/electrum-grs.desktop vlicense LICENCE