diff options
Diffstat (limited to 'opcut/PKGBUILD')
| -rw-r--r-- | opcut/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opcut/PKGBUILD b/opcut/PKGBUILD index ff3b07a..f962f7a 100644 --- a/opcut/PKGBUILD +++ b/opcut/PKGBUILD @@ -1,24 +1,24 @@ # Maintainer: Bozo Kopic <bozo@kopic.xyz> pkgname=opcut -pkgver=0.4.9 +pkgver=0.4.10 pkgrel=1 pkgdesc="Cutting stock problem optimizer" url="https://github.com/bozokopic/opcut" license=('GPL3') arch=('x86_64' 'armv7l' 'aarch64') depends=('python-aiohttp' 'python-hat-aio' 'python-hat-json' 'python-cairo') -makedepends=('python-hat-doit' 'python-installer' 'yarn') +makedepends=('python-build' 'python-hat-doit' 'python-installer' 'yarn') source=("https://github.com/bozokopic/opcut/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('965303a6b69b5cfa5070abb8ae6d4a41e46148b987a3b0f658d997d8c580b20a') +sha256sums=('cc6daaa378bf6c8e2790842749ff52705c8660dff41b0b1bfd44480f0b13336a') build() { cd "$srcdir/$pkgname-$pkgver" - SKIP_CROSS_COMPILE=1 python -m doit + python -m build --wheel --no-isolation } package() { cd "$srcdir/$pkgname-$pkgver" - python -m installer --destdir="$pkgdir" build/py/dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } |
