diff options
author | Andrew Stubbs | 2016-02-16 17:27:47 +0000 |
---|---|---|
committer | Andrew Stubbs | 2016-02-16 17:27:47 +0000 |
commit | e9f916a58574fd7a6f6096c84c6e7cb109915f3a (patch) | |
tree | 2d2ef01838cfb0d206bfb049a3dd7fb1d6e9b4a5 | |
parent | fdb0b503273b60b85789df1897d1a75f0b933f5c (diff) | |
download | aur-e9f916a58574fd7a6f6096c84c6e7cb109915f3a.tar.gz |
Fix git describe according to packaging standards
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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() { |