summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:13:57 +0800
committerSainnhepark2021-02-15 18:13:57 +0800
commit7e713f1883c5727e82934af9a2826f2f2b0473e6 (patch)
tree8d8e003843af39f666f8a676fcc1f82a89937588 /PKGBUILD
parente5896c54954ec3c66f00343e6cd6cfd51129d0a1 (diff)
downloadaur-vim-visual-multi-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 f4a5a216b9e..99983edf0da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=vim-visual-multi-git
_pkgname=vim-visual-multi
-pkgver=v0.5.4.r11.gf317dca
+pkgver=0.5.4.r11.gf317dca
pkgrel=1
pkgdesc='Multiple cursors plugin for vim/neovim'
arch=('any')
@@ -21,7 +21,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${srcdir}/${_pkgname}"
- 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() {