🗝
about summary refs log tree commit diff
path: root/PKGBUILD
blob: 61492ba35b251d8bf9b7b3250e6d40f3eba1d426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=zoner
pkgver=2
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"
}