blob: d9fe0e52bc198b672ca50c610eae370e6025da4a (
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
30
31
|
#Maintainer digital mystik <echo ZGlnaXRhbF9teXN0aWtAcHJvdG9ubWFpbC5jaAo= | base64 -d>
pkgname=python-bech32
pkgver=1.2.0
pkgrel=1
pkgdesc="Pieter Wuille's reference implementation for Bech32 and segwit addresses"
arch=('any')
url="https://github.com/fiatjaf/bech32"
license=("GPL3")
depends=('python')
makedepends=('python-setuptools' 'git')
source=("${pkgname}::git+https://github.com/fiatjaf/bech32.git#branch=master")
b2sums=('SKIP')
#source does not have tags currently
#pkgver() {
# cd "${pkgname}"
# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
#}
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|