🗝
about summary refs log tree commit diff
path: root/PKGBUILD
blob: 13aea4b104de30fa853e1c13bb6dd9be2bb799c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=zoner
pkgver=3
pkgrel=1
arch=(any)
makedepends=(python-build python-installer python-wheel)
depends=(python-httpx)
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"
}