diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-10-25 01:30:30 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-10-25 01:30:30 +0200 |
| commit | fa1dacca0175d555100221b20bf450b1d796456b (patch) | |
| tree | 227f541f0ab90645682b64ce03a8f4dba34fbfd1 | |
| parent | 6e65bd74f38b55de1d674197b4366d5b6e78acb8 (diff) | |
mkwhl init
| -rw-r--r-- | mkwhl/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mkwhl/PKGBUILD b/mkwhl/PKGBUILD new file mode 100644 index 0000000..c867352 --- /dev/null +++ b/mkwhl/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Bozo Kopic <bozo@kopic.xyz> + +pkgname=mkwhl +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Python wheel creation utility" +url="https://github.com/bozokopic/mkwhl" +license=('GPL3') +arch=('any') +depends=('python-packaging' 'python-tomli') +source=("https://github.com/bozokopic/mkwhl/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('ad3df73d717f0a436792612efa32a2d2f969f3cab3270b2e195a96b0c6b56f99') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python -m installer --destdir="$pkgdir" build/*.whl + install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} |
