summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7612c303e1e3..1ca33f5f4599 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon May 16 09:12:53 UTC 2016
+# Sat Sep 24 15:47:09 UTC 2016
pkgbase = datovka-git
pkgdesc = GUI application allowing access to a 'Databox' - an electronic communication interface endorsed by the Czech government
- pkgver = 4.6.0
+ pkgver = v4.6.1.r0.g87416a2
pkgrel = 1
url = https://gitlab.labs.nic.cz/labs/qdatovka
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 7bd2d3fee7da..47c748f2d98b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=datovka-git
-pkgver=4.6.0
+pkgver=v4.6.1.r0.g87416a2
pkgrel=1
pkgdesc="GUI application allowing access to a 'Databox' - an electronic communication interface endorsed by the Czech government"
arch=('i686' 'x86_64')
@@ -14,6 +14,11 @@ provides=('datovka')
source=(git+https://gitlab.labs.nic.cz/labs/qdatovka.git)
md5sums=('SKIP')
+pkgver() {
+ cd qdatovka
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build() {
cd qdatovka