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 11002210282..65f3c223d6c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovim-coc-explorer-git
pkgdesc = Explorer for coc.nvim
- pkgver = v0.7.23.r0.gbb631b5
+ pkgver = 0.7.23.r0.gbb631b5
pkgrel = 1
url = https://github.com/weirongxu/coc-explorer
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 558723c8672..51b9d9457b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,13 +13,13 @@ groups=('neovim-coc-extras-git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_extname}::git+${url}.git")
-pkgver=v0.7.23.r0.gbb631b5
+pkgver=0.7.23.r0.gbb631b5
pkgrel=1
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_extname}"
- 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() {