summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhalosghost2015-12-17 18:09:54 -0600
committerhalosghost2015-12-17 18:09:54 -0600
commit2efa70b7f9edfc941a85ca9e0b495200dc7ee6c9 (patch)
tree57671698a48e443045ccaf7587dd2517316ad27f /PKGBUILD
parent49ad153c97ab6e68e8607f4b0407a87b9c9f113c (diff)
downloadaur-2efa70b7f9edfc941a85ca9e0b495200dc7ee6c9.tar.gz
Update for tracking latest tag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8a5057f6fa1..422e5f8df1ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: mjheagle <mjheagle8@gmail.com>
_name='zsh-syntax-highlighting'
pkgname="${_name}-git"
-pkgver=0.2.1.452.e60737d
+pkgver=0.4.0.r11.g38c3ac8
pkgrel=1
pkgdesc='Fish shell like syntax highlighting for Zsh'
url='https://github.com/zsh-users/zsh-syntax-highlighting'
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
- echo "0.2.1.$(git rev-list --count HEAD).$(git describe --always )"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {