summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:03:17 +0800
committerSainnhepark2021-02-15 18:03:17 +0800
commit82a8311dd8e5055a7615bae262a3e852cd4af262 (patch)
tree3ddd6fbb8be4ed44ae1dc9747ee8b83947084197
parent06b566c8e73d7508f2768a62793bac21960fd2c7 (diff)
downloadaur-82a8311dd8e5055a7615bae262a3e852cd4af262.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 594b7b5c14d..50d031bb96b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovim-coc-vimlsp-git
pkgdesc = VimL support for coc.nvim
- pkgver = v0.8.0.r6.g0b7001d
+ pkgver = 0.8.0.r6.g0b7001d
pkgrel = 1
url = https://github.com/iamcco/coc-vimlsp
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 1a1bd539307..671a8deaf0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,13 +13,13 @@ depends=("${_variant}-coc")
makedepends=('yarn' 'npm' 'git')
license=('unknown')
source=("${_extname}::git+${url}.git")
-pkgver=v0.8.0.r6.g0b7001d
+pkgver=0.8.0.r6.g0b7001d
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() {