summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 100f94b5ae9e..7d9c5e6058f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovim-polyglot-git
pkgdesc = A solid language pack for Vim.
- pkgver = v4.4.3.r9.g56121b4
+ pkgver = 4.4.3.r9.g56121b4
pkgrel = 1
url = https://github.com/sheerun/vim-polyglot
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a2d98231c1c2..d9204267c7f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=neovim-polyglot-git
-pkgver=v4.4.3.r9.g56121b4
+pkgver=4.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"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {