aboutsummaryrefslogtreecommitdiffstats
path: root/community/electrum/APKBUILD
blob: 54d753170f73a1d603b9f29ac00802bf5916c6c1 (plain) (blame)
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
# Maintainer: MichaƂ Adamski <michal@ert.pl>
pkgname=electrum
pkgver=4.1.3
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"
source="
	https://download.electrum.org/$pkgver/Electrum-$pkgver.tar.gz
	0001-apk-add-instead-of-apt-get-install.patch
"
builddir="$srcdir/Electrum-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -r "${pkgdir:?}"/home
}
sha512sums="
eb1ea44e4bb3573a2035e51b8d0b1f36ddf150368fced2bf27c10939c2e81034505ad543bf6c272b298f5d1ebd8ef2610e5cdf75b758439bb9c007e1c9ccb5e8  Electrum-4.1.3.tar.gz
ccc8b3e286369a76d396e52e3db9b20a493dec179346a64a2fe4266d3ab1d775c07cf742d9c602f606030ecd95589a27f709e5f4b7b996fa5ccc0feb854dda9b  0001-apk-add-instead-of-apt-get-install.patch
"