diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-12-29 21:45:08 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-12-29 21:45:08 +0100 |
| commit | fd7675f4ee6a67db5f88da7ae7cf46b8fa5bedbc (patch) | |
| tree | 71840aeb53c51ad30b5a7510f79b783684ef427a /mkwhl/PKGBUILD | |
| parent | fa1dacca0175d555100221b20bf450b1d796456b (diff) | |
.
Diffstat (limited to 'mkwhl/PKGBUILD')
| -rw-r--r-- | mkwhl/PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
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 <bozo@kopic.xyz> 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 } |
