summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeelzebud2021-08-31 05:32:47 -0500
committerbeelzebud2021-08-31 05:32:47 -0500
commitba149654853ccea881ca2586b39ba88ee4758404 (patch)
treedc2e88b000f03480aeacf03a74559bbf9b574b76
parentc82a12f06d0298b1e1b7e4a0def52fe8c38b842b (diff)
downloadaur-ba149654853ccea881ca2586b39ba88ee4758404.tar.gz
pkgbuild fix
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 72df55ba855..30774bf62df 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"
}