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