summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis2016-05-03 10:13:05 +0200
committerJan Holthuis2016-05-03 10:13:05 +0200
commitb5dd011258e406396bec15f172027f7c5cf0b49b (patch)
tree1d636fac2dd08c13b65dbe4d0729fefd2851e421
parentb64aca545ce4c60ab6daba095c711937f6aecc86 (diff)
downloadaur-jasper-voice-control-git.tar.gz
pkgver: Use git describe --always instead of --long
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cce9b3d2ab9..f4a8f14dd5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Tue May 3 08:11:12 UTC 2016
pkgbase = jasper-voice-control-git
pkgdesc = Jasper is an open source platform for developing always-on, voice-controlled applications.
pkgver = 0.0.0
diff --git a/PKGBUILD b/PKGBUILD
index ee0fd0e0ef6..f511042afbf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,7 +35,7 @@ install='jasper-voice-control.install'
pkgver() {
cd "${srcdir}/jasper-client"
# Use the tag of the last commit
- git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --always | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {