summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-03-18 20:18:52 +0100
committerhaawda2019-03-18 20:18:52 +0100
commit660e625efa2c18421509388611324de8f729328b (patch)
treef1a781b4dac0cb019f239cbed6cb6357a4c84933
parent536025db9ece7e63a809441e79cf89b17b323e7d (diff)
downloadaur-660e625efa2c18421509388611324de8f729328b.tar.gz
fix ugly pkgver function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9cbe3a5bf8..c16293a79ab 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = artanis-git
pkgdesc = A fast monolithic web-framework of Scheme
- pkgver = 0.3.1r10rg1e91ae1
+ pkgver = 0.3.1r12.gc11a2cd
pkgrel = 1
url = http://web-artanis.com/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index f9e80af4875..08ca6844be8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=artanis-git
-pkgver=0.3.1r10rg1e91ae1
+pkgver=0.3.1r12.gc11a2cd
pkgrel=1
pkgdesc="A fast monolithic web-framework of Scheme"
arch=('x86_64')
@@ -17,7 +17,7 @@ options=('!strip')
pkgver() {
cd ${pkgname%-git}
- git describe|cut -c2-|tr - r
+ git describe --long|cut -c2-|sed 's+-+r+' | tr - .
}
build() {