summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2021-02-15 17:59:03 +0800
committerSainnhepark2021-02-15 17:59:03 +0800
commit1f28bdf44e7ac36fdc097f7e8e244250ff4bae7c (patch)
treea76ba8341e8dea172a83ffae0217b421e270d6ee /PKGBUILD
parent9aeebb3ab69e92aa0bfb69f63b5de760d07969d1 (diff)
downloadaur-vim-gruvbox-material-git.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 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() {