diff options
author | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
commit | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch) | |
tree | 76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/electrum/electrum.xibuild | |
parent | 05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff) |
Work
Diffstat (limited to 'skip/electrum/electrum.xibuild')
-rw-r--r-- | skip/electrum/electrum.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/skip/electrum/electrum.xibuild b/skip/electrum/electrum.xibuild new file mode 100644 index 0000000..dd21511 --- /dev/null +++ b/skip/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.3.1 +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 +} |