summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:02:03 +0800
committerSainnhepark2021-02-15 18:02:03 +0800
commit33b6a146ccf741667b76fad35cdce1263eda22b9 (patch)
tree698856721dd235ee5f42c9565d302e68406e4d7b
parent88dbe06506a6a74e60e1555b714c1a4e87e05a24 (diff)
downloadaur-33b6a146ccf741667b76fad35cdce1263eda22b9.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 891b0dc5a563..a44a5c3f5c72 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 4a54a5daf217..08e03162443c 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() {