diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = neovim-polyglot-git pkgdesc = A solid language pack for Vim. - pkgver = r540.56121b4 + pkgver = v4.4.3.r9.g56121b4 pkgrel = 1 url = https://github.com/sheerun/vim-polyglot arch = any @@ -1,6 +1,6 @@ # Maintainer: Sainnhe Park <sainnhe@gmail.com> pkgname=neovim-polyglot-git -pkgver=r540.56121b4 +pkgver=v4.4.3.r9.g56121b4 pkgrel=1 pkgdesc='A solid language pack for Vim.' arch=('any') @@ -15,7 +15,7 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/vim-polyglot" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { |