29 lines
1.2 KiB
Bash
29 lines
1.2 KiB
Bash
# Template file for 'Electron-Cash'
|
|
pkgname=Electron-Cash
|
|
version=4.2.10
|
|
revision=3
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
|
|
depends="python3-PyQt5 python3-PyQt5-svg python3-qrcode python3-dateutil
|
|
python3-jsonrpclib python3-protobuf
|
|
python3-dnspython python3-requests python3-pysocks python3-stem
|
|
python3-ecdsa python3-pyaes python3-pycryptodomex libbitcoin-secp256k1 libzbar
|
|
python3-cryptography>=2.6 python3-pathvalidate python3-psutil"
|
|
short_desc="Lightweight Bitcoin Cash client"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://electroncash.org"
|
|
distfiles="https://github.com/Electron-Cash/Electron-Cash/releases/download/${version}/Electron-Cash-${version}.tar.gz"
|
|
checksum=2c77258c0e8ccdc42d16cd9bdbc26b47f94b92d9ba8a86d63c25a17ec832b324
|
|
make_check=no # Depends on unpackaged SimpleWebSocketServer
|
|
|
|
post_install() {
|
|
# TODO: build these binaries instead of having to remove pre-built ones
|
|
rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/tor/bin/tor"
|
|
|
|
for lib in zbar secp256k1; do
|
|
rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/lib${lib}.so.0"
|
|
done
|
|
vlicense LICENCE
|
|
}
|