summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 18:03:17 +0800
committerSainnhepark2021-02-15 18:03:17 +0800
commit82a8311dd8e5055a7615bae262a3e852cd4af262 (patch)
tree3ddd6fbb8be4ed44ae1dc9747ee8b83947084197 /PKGBUILD
parent06b566c8e73d7508f2768a62793bac21960fd2c7 (diff)
downloadaur-82a8311dd8e5055a7615bae262a3e852cd4af262.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 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() {