summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:00:22 +0800
committerSainnhepark2021-02-15 18:00:22 +0800
commitb981ba5bc2ecd492846ce47ce78611a4431d723c (patch)
tree00d946b08a0a753dba345ec51eefe00f62219a6a
parent11ede87f44d689ff2dc0d8b2e8569cff13e662c0 (diff)
downloadaur-b981ba5bc2ecd492846ce47ce78611a4431d723c.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 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() {