From e6e1e562dc54eb6e98a8b35eda2de7ca763bbdf2 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sat, 7 Sep 2019 11:45:35 -0700 Subject: [PATCH] New package: Electron-Cash-4.0.9. --- srcpkgs/Electron-Cash/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/Electron-Cash/template diff --git a/srcpkgs/Electron-Cash/template b/srcpkgs/Electron-Cash/template new file mode 100644 index 00000000000..366092514f7 --- /dev/null +++ b/srcpkgs/Electron-Cash/template @@ -0,0 +1,26 @@ +# Template file for 'Electron-Cash' +pkgname=Electron-Cash +version=4.0.9 +revision=1 +archs=noarch +build_style=python3-module +pycompile_module="electroncash electroncash_gui electroncash_plugins" +hostmakedepends="python3-setuptools python3-PyQt5-devel-tools" +depends="python3-PyQt5 python3-PyQt5-svg + python3-jsonrpclib python3-protobuf + python3-pyaes python3-pycryptodome python3-ecdsa + python3-dnspython python3-requests python3-qrcode python3-pysocks" +short_desc="Lightweight Bitcoin Cash client" +maintainer="Cameron Nemo " +license="MIT" +homepage="https://electroncash.org" +distfiles="https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz" +checksum=630274c6e930590aa28587e348c7ed13c7bc560b16dc98c44d5ccb2ec9331899 +shlib_requires="libzbar.so.0 libsecp256k1.so.0" + +post_install() { + for lib in zbar secp256k1; do + rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/lib${lib}.so.0" + done + vlicense LICENCE +}