versioning

This commit is contained in:
Zacharias-Brohn
2026-06-29 18:59:03 +02:00
parent b9fcc85622
commit d392551cf8
+8 -1
View File
@@ -1,5 +1,5 @@
pkgname='zshell'
pkgver=0.1.0
pkgver=0.1.0.e685500
pkgrel=1
pkgdesc='The cli for zshell'
arch=('any')
@@ -11,6 +11,13 @@ makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs'
source=("$pkgname::git+$url.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s.%s" \
"$(git describe --tags --abbrev=0 | sed 's/^v//')" \
"$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}/cli"
python -m build --wheel --no-isolation