Fix pkgver function to correctly navigate directory and format version output
Some checks failed
Build and push Archlinux package / build (push) Failing after 9s

This commit is contained in:
Edgar P. Burkhart 2025-05-21 18:22:39 +02:00
parent a4a5749fa7
commit ce24875b2c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -14,8 +14,8 @@ sha256sums=('SKIP')
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
pkgver() {
cd "$pkgname"
git describe --tags
cd "$pkgname%-git"
git describe --tags | sed -e"s/^v//"
}
package() {
cd "$srcdir/${pkgname%-git}"