summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-27 07:27:55 +0800
committerSainnhepark2020-07-27 07:27:55 +0800
commitf7cd312b542186489cf6a712ca1ffbfb05e65661 (patch)
treeb7498896124580a877a66b63d21d506c9d1ab159
parentbabac8bb7a047a8b648a19ca70932d0ba9c51599 (diff)
downloadaur-f7cd312b542186489cf6a712ca1ffbfb05e65661.tar.gz
version format
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c54027eb998..47952551e98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 07ecca5eaf1..ea6f0fc28fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {