summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 17:21:53 +0800
committerSainnhepark2021-02-15 17:21:53 +0800
commit580e20144d8df8daaf91473bfdade105707ef461 (patch)
tree6de8b708000f604860a5531962098a944a24c778 /PKGBUILD
parentc8ee2529a13b934736b8666ac238585d6167a088 (diff)
downloadaur-neovim-polyglot-git.tar.gz
fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
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() {