summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomZ2020-08-26 13:49:50 +0200
committerTomZ2020-08-26 13:49:50 +0200
commit20800cbeb7174421c25433d6f9f51b8332c60cfd (patch)
treec8483b2d6aff4d78cabf3f9437b78d26fbc12426
parentc090309c0694f5b7ef84b27a3cedee327e5a10fc (diff)
downloadaur-20800cbeb7174421c25433d6f9f51b8332c60cfd.tar.gz
Update pkgver to the suggested by packaging guidelines
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2fcff517432..4d0cae59051 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ sha256sums=('SKIP'
pkgver() {
cd "$srcdir/thehub"
- git rev-parse --short HEAD
+ git describe --long --tags | sed 's/v\(.*\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {