summaryrefslogtreecommitdiff
path: root/repo/electrum/electrum.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/electrum/electrum.xibuild')
-rw-r--r--repo/electrum/electrum.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/electrum/electrum.xibuild b/repo/electrum/electrum.xibuild
new file mode 100644
index 0000000..b4e2a07
--- /dev/null
+++ b/repo/electrum/electrum.xibuild
@@ -0,0 +1,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
+}