summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 17:58:41 +0800
committerSainnhepark2021-02-15 17:58:41 +0800
commit8b14b5d4f7cb7b64d2372328c7cda26beffb019f (patch)
tree8032e504602c2fb9d3576c95cb8271f638ab1e97
parent9b913b15cc42841a9c7585636c9ee16f4415bc0e (diff)
downloadaur-8b14b5d4f7cb7b64d2372328c7cda26beffb019f.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 1e0e3f06b3e..a403e08a097 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = vim-edge-git
- pkgver = v0.1.3.r4.g3231c16
+ pkgver = 0.1.3.r4.g3231c16
pkgrel = 1
url = https://github.com/sainnhe/edge
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index e0308323c48..d1edc1bdf7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase="${_variant}-${_colorscheme}-git"
pkgname=("${_variant}-${_colorscheme}-git"
"${_variant}-airline-${_colorscheme}-git"
"${_variant}-lightline-${_colorscheme}-git")
-pkgver=v0.1.3.r4.g3231c16
+pkgver=0.1.3.r4.g3231c16
pkgrel=1
arch=('any')
url="https://github.com/sainnhe/${_colorscheme}"
@@ -17,7 +17,7 @@ makedepends=('git')
pkgver() {
cd "${srcdir}/${_colorscheme}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package_vim-edge-git() {