blob: 1f09e5f0feb9c881d2a968da4d43fd453a79e572 (
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
|
# Maintainer: bitcoinlizard <bitcoinlizard at fastmail dot com>
pkgname=specterext-spectrum
pkgver=0.6.6
pkgrel=1
pkgdesc="This is a electrum-adapter. It exposes a Bitcoin-Core style API while using an electron API in the backend."
arch=('any')
url="https://specter.solutions"
license=('MIT')
makedepends=('python-setuptools')
depends=('python' 'python-requests' 'python-embit' 'python-flask' 'python-flask-sqlalchemy' 'python-psycopg2' 'python-pytest' 'python-pysocks')
source=("https://github.com/cryptoadvance/spectrum/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('c61c4b2e5cc9d78d35a2fbad057a2a11162d71a893cdd00b43fef6bfef33a16f')
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
cd "spectrum-${pkgver}"
python setup.py build
}
package() {
cd "spectrum-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
# Install license since the package doesn't include it
install -Dm 644 "$srcdir/spectrum-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|