summaryrefslogtreecommitdiff
path: root/python-hat-aio/PKGBUILD
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2023-01-01 21:04:39 +0100
committerbozo.kopic <bozo@kopic.xyz>2023-01-01 21:04:39 +0100
commite9869fce898d7e8ad7c739bf98e89bd553e90feb (patch)
tree7caf5e668b6cddee88ada15bc398dbefb8bd4dae /python-hat-aio/PKGBUILD
init
Diffstat (limited to 'python-hat-aio/PKGBUILD')
-rw-r--r--python-hat-aio/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/python-hat-aio/PKGBUILD b/python-hat-aio/PKGBUILD
new file mode 100644
index 0000000..25948c5
--- /dev/null
+++ b/python-hat-aio/PKGBUILD
@@ -0,0 +1,23 @@
+_name=hat-aio
+pkgname=python-$_name
+pkgver=0.7.3
+pkgrel=1
+pkgdesc="Hat async utility library"
+url="https://github.com/hat-open/hat-aio"
+license=('Apache')
+arch=('any')
+depends=('python-hat-util')
+makedepends=('python-hat-doit' 'python-installer')
+source=("https://github.com/hat-open/hat-aio/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('48974816473754ca85fc97fa28b6b6cd7ac840040a2b2fcd1c6ad9544ddf40ab')
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python -m doit
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ python -m installer --destdir="$pkgdir" build/py/dist/*.whl
+ install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}