summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorArtem Senichev2021-05-04 09:33:19 +0300
committerArtem Senichev2021-05-04 09:33:19 +0300
commit9bf99779b06857d1a3d35d8eee2fb2f77a28a383 (patch)
tree6bb261d2db6d3d6af5f7edfb922bd458ee868f8b /PKGBUILD
parentb1b888114fbae3992195d1b6b46906be513c96f7 (diff)
downloadaur-xvi-git.tar.gz
Set correct package version
Signed-off-by: Artem Senichev <artemsen@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4dd8639536d..a7307321aab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- git rev-parse --short HEAD
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {