summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:00:22 +0800
committerSainnhepark2021-02-15 18:00:22 +0800
commitb981ba5bc2ecd492846ce47ce78611a4431d723c (patch)
tree00d946b08a0a753dba345ec51eefe00f62219a6a /PKGBUILD
parent11ede87f44d689ff2dc0d8b2e8569cff13e662c0 (diff)
downloadaur-b981ba5bc2ecd492846ce47ce78611a4431d723c.tar.gz
fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
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() {