summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordr460nf1r32021-05-01 12:49:59 +0200
committerdr460nf1r32021-05-01 12:49:59 +0200
commita16f56906ee26103ff9921fba98d7dbea3ef55e7 (patch)
tree3dfd7dc80a0f181cd060d8fb63c8a71b4af6bd7b
parentd4de3765555717ad0e5dab105a62b7089c65227e (diff)
downloadaur-a16f56906ee26103ff9921fba98d7dbea3ef55e7.tar.gz
Fix pkgver
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ff184af03ea..a1e2bec629c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ conflicts=(ananicy-cpp)
provides=(ananicy-cpp)
pkgver() {
- cd "$pkgname"
+ cd "$_pkgname"
git describe --long | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}