summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:13:57 +0800
committerSainnhepark2021-02-15 18:13:57 +0800
commit7e713f1883c5727e82934af9a2826f2f2b0473e6 (patch)
tree8d8e003843af39f666f8a676fcc1f82a89937588
parente5896c54954ec3c66f00343e6cd6cfd51129d0a1 (diff)
downloadaur-7e713f1883c5727e82934af9a2826f2f2b0473e6.tar.gz
fix pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9bd74546b19..d8bdf244cbd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vim-visual-multi-git
pkgdesc = Multiple cursors plugin for vim/neovim
- pkgver = v0.5.4.r11.gf317dca
+ pkgver = 0.5.4.r11.gf317dca
pkgrel = 1
url = https://github.com/mg979/vim-visual-multi
install = vim-visual-multi-git.install
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() {