blob: 1ebd85c910652ef51326344ca7ec91f07b97ea99 (
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
|
# Maintainer: Michał Adamski <michal@ert.pl>
pkgname=electrum
pkgver=4.2.2
pkgrel=0
pkgdesc="Lightweight Bitcoin Wallet"
url="https://electrum.org/"
arch="noarch"
license="MIT"
depends="
libsecp256k1
python3
py3-aiohttp
py3-aiohttp-socks
py3-aiorpcx
py3-attrs
py3-bitstring
py3-certifi
py3-dnspython
py3-ecdsa
py3-protobuf
py3-pycryptodomex
py3-qrcode
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-cryptography py3-pyaes"
source="
electrum-$pkgver.tar.gz::https://github.com/spesmilo/electrum/archive/refs/tags/$pkgver.tar.gz
0001-apk-add-instead-of-apt-get-install.patch
"
build() {
python3 setup.py build
}
check() {
pytest electrum/tests -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -r "${pkgdir:?}"/home
}
sha512sums="
ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d electrum-4.2.2.tar.gz
ccc8b3e286369a76d396e52e3db9b20a493dec179346a64a2fe4266d3ab1d775c07cf742d9c602f606030ecd95589a27f709e5f4b7b996fa5ccc0feb854dda9b 0001-apk-add-instead-of-apt-get-install.patch
"
|