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 eefcdc33e77..3575a293086 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = vim-gruvbox-material-git
- pkgver = v1.2.0.r12.g8c5607c
+ pkgver = 1.2.0.r12.g8c5607c
pkgrel = 1
url = https://github.com/sainnhe/gruvbox-material
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 3a2ea1cae26..f6a601a16ed 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=v1.2.0.r12.g8c5607c
+pkgver=1.2.0.r12.g8c5607c
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-gruvbox-material-git() {