pkgname=vkbasalt-cli
pkgver=3.1.1
pkgrel=5
pkgdesc="Command-line utility for vkBasalt"
arch=(any)
url="https://gitlab.com/TheEvilSkeleton/vkbasalt-cli"
license=('LGPL-3.0-only AND GPL-3.0-only')
depends=(python)
makedepends=(git python-build python-wheel python-installer python-setuptools)
source=("git+https://gitlab.com/TheEvilSkeleton/vkbasalt-cli.git#tag=v${pkgver}")
sha256sums=('6d6c419e5d1d07f0d5a3e83dcb912cd443ae176f41aaf4ede9a3c60095e3d455')

build() {
  cd vkbasalt-cli
  python -m build --wheel --no-isolation
}

package() {
  cd vkbasalt-cli
  python -m installer --destdir="$pkgdir" dist/*.whl
}
