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