pkgname=zoner pkgver=1 pkgrel=2 arch=(any) makedepends=(python-build python-installer python-wheel) depends=(python-requests) source=(pyproject.toml zoner.py compdef.zsh) sha256sums=(SKIP SKIP SKIP) license=(MIT) build() { python -m build --wheel --no-isolation } package() { python -m installer --destdir="$pkgdir" "$srcdir"/dist/*.whl install -Dm644 "$srcdir/compdef.zsh" "$pkgdir/usr/share/zsh/site-functions/_zoner" }