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 891b0dc5a56..a44a5c3f5c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovim-coc-marketplace-git
pkgdesc = coc.nvim extensions marketplace
- pkgver = v1.4.0.r109.ga1ec912
+ pkgver = 1.4.0.r109.ga1ec912
pkgrel = 1
url = https://github.com/fannheyward/coc-marketplace
install = neovim-coc-marketplace-git.install
diff --git a/PKGBUILD b/PKGBUILD
index 4a54a5daf21..08e03162443 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=neovim-coc-marketplace-git
_pkgname=neovim-coc-marketplace
_extname=coc-marketplace
-pkgver=v1.4.0.r109.ga1ec912
+pkgver=1.4.0.r109.ga1ec912
pkgrel=1
pkgdesc='coc.nvim extensions marketplace'
arch=('any')
@@ -22,7 +22,7 @@ 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() {