blob: 4df7e05505f1f6a76a7106bf34e8749e84a8a7b8 (
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
|
# Maintainer: Cameron Otsuka <cameron@otsuka.haus>
# Contributor: Cameron Otsuka <cameron@otsuka.haus>
pkgname="python-pyln-bolt7"
_name=${pkgname#python-}
pkgver="24.11"
pkgrel=1
pkgdesc="BOLT7"
arch=("any")
url="https://github.com/ElementsProject/lightning/blob/master/contrib/pyln-spec/bolt7"
license=("custom:BSD-MIT")
depends=("python" "python-pyln-proto")
makedepends=("python-build" "python-installer" "python-poetry" "python-wheel")
source=("https://github.com/ElementsProject/lightning/releases/download/v${pkgver}/clightning-v${pkgver}.zip")
sha256sums=("3164f3527e6408132beaee64dea0fb6d566377b77e0be67a2359e80dcbd7ba9e")
build() {
cd "clightning-v$pkgver"/"contrib"/"pyln-spec"/"bolt7"
python -m build --wheel --no-isolation
}
package() {
cd "clightning-v$pkgver"/"contrib"/"pyln-spec"/"bolt7"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|