summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7641f3009a3ee4c56897d43ea74579b962a28fa8 (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
# Maintainer: bitcoinlizard <bitcoinlizard at fastmail dot com>

pkgname=specterext-exfund
pkgver=0.1.7
pkgrel=1
pkgdesc="Specter extension to fund multiple addresses from a wallet."
arch=('any')
url="https://specter.solutions"
license=('MIT')
makedepends=('python-setuptools')
depends=('python')
source=("https://github.com/stepansnigirev/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('3e338362392c13d721b1e23e8a00be178bb0af377205831f05d102c54fc3bb3e')

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"

}