summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Stubbs2016-02-16 17:27:47 +0000
committerAndrew Stubbs2016-02-16 17:27:47 +0000
commite9f916a58574fd7a6f6096c84c6e7cb109915f3a (patch)
tree2d2ef01838cfb0d206bfb049a3dd7fb1d6e9b4a5
parentfdb0b503273b60b85789df1897d1a75f0b933f5c (diff)
downloadaur-e9f916a58574fd7a6f6096c84c6e7cb109915f3a.tar.gz
Fix git describe according to packaging standards
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8ff866ab624..22c8e5a32cc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Feb 16 16:46:39 UTC 2016
+# Tue Feb 16 17:26:09 UTC 2016
pkgbase = zsh-autosuggestions-git
pkgdesc = Fish shell like fast/unobtrusive autosuggestions for zsh
- pkgver = v0.2.9
+ pkgver = v0.2.9.r0.g0faa2b6
pkgrel = 1
url = https://github.com/tarruda/zsh-autosuggestions
install = zsh-autosuggestions.install
diff --git a/PKGBUILD b/PKGBUILD
index db91072edf5d..133bbfacb201 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
_name='zsh-autosuggestions'
pkgname="${_name}-git"
-pkgver=v0.2.9
+pkgver=v0.2.9.r0.g0faa2b6
pkgrel=1
pkgdesc='Fish shell like fast/unobtrusive autosuggestions for zsh'
url='https://github.com/tarruda/zsh-autosuggestions'
@@ -15,7 +15,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
- git describe --tags
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {