summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reuße2017-09-11 09:39:30 +0200
committerSebastian Reuße2017-09-11 09:39:30 +0200
commitbdbaaf3ce4ae18c608149765b387b202691910d0 (patch)
treed74564c25e2edf3a38c4fef39617d3c56cccd99c
parenta2536f455406d863fbf31c11b3cfceb426b13ccc (diff)
downloadaur-bdbaaf3ce4ae18c608149765b387b202691910d0.tar.gz
pkgver: use only regular version tags
Upstream also tags Debian releases separately, which contain slashes and throw off makepkg. Make sure to just use the regular version tags.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 798e2eb2a7e5..efb5c5f8a37a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Jul 13 07:07:42 UTC 2016
+# Mon Sep 11 07:39:30 UTC 2017
pkgbase = git-remote-gcrypt-git
pkgdesc = A git remote helper for GPG-encrypted remotes.
pkgver = 1.0.0.r2.gaaa874f
diff --git a/PKGBUILD b/PKGBUILD
index 9e22b94de26c..fe3c23c21e3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ md5sums=(SKIP)
pkgver() {
cd "$_gitname"
- git describe --long --tags | \
+ git describe --long --tags --match "[[:digit:]]*" | \
sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;'
}