summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d039a10d8b9..eee252c08021 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = arara-git
pkgdesc = The cool TeX automation tool
- pkgver = 4.0.r588.g777ea4f
+ pkgver = 4.0.r27
pkgrel = 1
url = https://github.com/cereda/arara
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 190eb61989ab..cc79b2e010c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=arara-git
_gitname=arara
-pkgver=4.0.r588.g777ea4f
+pkgver=4.0.r27
pkgrel=1
pkgdesc='The cool TeX automation tool'
arch=('any')
@@ -20,7 +20,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*\)-g.*/r\1/;s/-/./g'
}
build() {