Fix pkgver function to correctly change directory using parameter expansion
All checks were successful
Build and push Archlinux package / build (push) Successful in 12s

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

View file

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