From fd7675f4ee6a67db5f88da7ae7cf46b8fa5bedbc Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 29 Dec 2023 21:45:08 +0100 Subject: . --- mkwhl/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mkwhl/PKGBUILD') diff --git a/mkwhl/PKGBUILD b/mkwhl/PKGBUILD index c867352..066701f 100644 --- a/mkwhl/PKGBUILD +++ b/mkwhl/PKGBUILD @@ -1,23 +1,24 @@ # Maintainer: Bozo Kopic pkgname=mkwhl -pkgver=0.3.0 +pkgver=0.3.1 pkgrel=1 pkgdesc="Python wheel creation utility" url="https://github.com/bozokopic/mkwhl" license=('GPL3') arch=('any') depends=('python-packaging' 'python-tomli') +makedepends=('python-build' 'python-installer') source=("https://github.com/bozokopic/mkwhl/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('ad3df73d717f0a436792612efa32a2d2f969f3cab3270b2e195a96b0c6b56f99') +sha256sums=('939a57155662a0242fec72bd02639b207bc618b5720271c209440c00d258a97b') build() { cd "$srcdir/$pkgname-$pkgver" - make + python -m build --wheel --no-isolation } package() { cd "$srcdir/$pkgname-$pkgver" - python -m installer --destdir="$pkgdir" build/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } -- cgit v1.2.3-70-g09d2