blob: 04b21ab93f01f29cdf28816840f86f533bad1098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Maintainer: Maximilian Weiss <$(echo "bWF4QG1heHdlaXNzLmlv" | base64 -d)>
# Contributor: Jeremy Rand
# Contributor: The Namecoin Developers
# Contributor: The Electrum-DOGE Developers
# Contributor: The Electrum Developers
# Contributor: Thomas Voegtlin
# Contributor: The Bitcoin Developers
pkgname=electrum-nmc
pkgver=4.0.6
pkgrel=1
pkgdesc='Namecoin port of Electrum client with name support'
arch=('any')
url='https://github.com/namecoin/electrum-nmc'
license=('Custom: multiple open source')
depends=('libsecp256k1'
'python-setuptools'
'python-pyaes'
'python-ecdsa'
'python-aiorpcx'
'python-aiohttp'
'python-qrcode'
'python-aiohttp-socks'
'python-protobuf'
'python-pyqt5'
'python-dnspython'
'python-jsonrpclib-pelix'
'python-pysocks'
'python-pycryptodomex'
'python-websocket-client'
'python-hidapi'
'python-qdarkstyle'
'python-multidict'
'python-chardet'
'python-idna'
'qt5-multimedia'
'python-yarl'
'python-async-timeout'
'zbar'
'python-certifi'
'python-bitstring'
'python-attrs'
'python-bitcointx')
optdepends=('cython: Compilation support for all hardware wallet dependencies'
'python-btchip: Ledger, Trezor, and KeepKey hardware wallet support dependency'
'python-trezor: Trezor hardware support dependency'
'python-keepkey: KeepKey hardware wallet support dependency'
'python-ckcc-protocol: Coldcard wallet support')
provides=('electrum-nmc')
conflicts=('electrum-nmc')
source=("git+https://github.com/namecoin/electrum-nmc")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/electrum-nmc/"
git checkout "nc${pkgver}"
}
build() {
cd "$srcdir/electrum-nmc/"
python setup.py build
}
package() {
cd "$srcdir/electrum-nmc/"
python setup.py install --root="$pkgdir/" --optimize=1 --prefix=/usr
mkdir -p "$pkgdir/usr/share/doc/$pkgname/"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
cp AUTHORS README.rst RELEASE-NOTES "$pkgdir/usr/share/doc/$pkgname/"
cp LICENCE "$pkgdir/usr/share/licenses/$pkgname/"
}
|