diff options
author | halosghost | 2015-12-17 18:09:54 -0600 |
---|---|---|
committer | halosghost | 2015-12-17 18:09:54 -0600 |
commit | 2efa70b7f9edfc941a85ca9e0b495200dc7ee6c9 (patch) | |
tree | 57671698a48e443045ccaf7587dd2517316ad27f /PKGBUILD | |
parent | 49ad153c97ab6e68e8607f4b0407a87b9c9f113c (diff) | |
download | aur-2efa70b7f9edfc941a85ca9e0b495200dc7ee6c9.tar.gz |
Update for tracking latest tag
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |