summaryrefslogtreecommitdiff
path: root/repo/electrum/electrum.xibuild
blob: b4e2a07f161e68e731d3cd6a7a65a7e102dd9f5a (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
#!/bin/sh

NAME="electrum"
DESC="Lightweight Bitcoin Wallet"

MAKEDEPS="python python-pytest python-pyside2 python-mock"

PKG_VER=4.1.5
SOURCE="
	https://download.electrum.org/$PKG_VER/Electrum-$PKG_VER.tar.gz
    "

ADDITIONAL="
0001-apk-add-instead-of-apt-get-install.patch
"
prepare () {
    apply_patches
}

build() {
	python3 setup.py build
}

check() {
	CI=1 python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$PKG_DEST"
	rm -r "${pkgdir:?}"/home
}