diff options
author | Sainnhepark | 2021-02-15 17:21:45 +0800 |
---|---|---|
committer | Sainnhepark | 2021-02-15 17:21:45 +0800 |
commit | 90da8a846896a7443f91d1a478777086295afd7b (patch) | |
tree | beaf309b5067f8a8a2acb88a8cef58bc9e325618 /PKGBUILD | |
parent | 79b26ed0c388c8e01c797480917ccea01a4f8fb9 (diff) | |
download | aur-vim-polyglot-git.tar.gz |
fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Maintainer: Sainnhe Park <sainnhe@gmail.com> pkgname=vim-polyglot-git -pkgver=v4.4.3.r9.g56121b4 +pkgver=4.17.0.r12.g4c10562d 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() { |