summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d46c6da1a00e96fe57c1c0edf096ae07be6bb690 (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-liquidissuer
pkgver=0.2.3
pkgrel=1
pkgdesc="Issue Liquid assets with specter-desktop"
arch=('any')
url="https://specter.solutions"
license=('MIT')
makedepends=('python-setuptools')
depends=('python' 'python-requests' 'python-embit' 'python-flask')
source=("https://github.com/cryptoadvance/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")

sha256sums=('d6826b66686ec5f1814d8cb1d84a7a4ce9fda98ad4b96d51da776cda0272fbb5')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py sdist bdist_wheel
}

package() {
  cd "${pkgname}-${pkgver}"

  python setup.py install --root="$pkgdir" --optimize=1 --skip-build

  # Install license since the package doesn't include it
  install -Dm 644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

}