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 0e350a53ff3..e5dafc6f2a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = leaderf-git
pkgdesc = An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
- pkgver = v1.22.r48.g312a13b
+ pkgver = 1.22.r48.g312a13b
pkgrel = 1
url = https://github.com/Yggdroot/LeaderF
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index f19c4ea87e3..e9aa5d54a92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgbase=leaderf-git
pkgname=('vim-leaderf-git'
'neovim-leaderf-git')
_pkgname=leaderf
-pkgver=v1.22.r48.g312a13b
+pkgver=1.22.r48.g312a13b
pkgrel=1
pkgdesc='An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.'
arch=('any')
@@ -16,7 +16,7 @@ makedepends=('git'
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'
}
build() {