summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 72df55ba8550..30774bf62dfc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("$pkgname"::'git+https://gitlab.com/spherebeaker/vgtranslate.git')
md5sums=('SKIP')
pkgver() {
- cd "$_pkgname"
+ cd "$srcdir/$pkgname"
git describe --long | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
}