diff options
author | Sainnhepark | 2021-02-15 17:59:35 +0800 |
---|---|---|
committer | Sainnhepark | 2021-02-15 17:59:35 +0800 |
commit | 522cacb285fa01c076c01846f7338c2dc23a5084 (patch) | |
tree | 457d2ad91912710a7ee36ee97c089c1158ad9edf | |
parent | a245a363d99993b873d68fa2f6931f774f89ff97 (diff) | |
download | aur-522cacb285fa01c076c01846f7338c2dc23a5084.tar.gz |
fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ pkgbase = neovim-forest-night-git - pkgver = v0.1.2.r0.g02b6cc5 + pkgver = 0.1.2.r0.g02b6cc5 pkgrel = 1 url = https://github.com/sainnhe/forest-night arch = any @@ -6,7 +6,7 @@ pkgbase="${_variant}-${_colorscheme}-git" pkgname=("${_variant}-${_colorscheme}-git" "${_variant}-airline-${_colorscheme}-git" "${_variant}-lightline-${_colorscheme}-git") -pkgver=v0.1.2.r0.g02b6cc5 +pkgver=0.1.2.r0.g02b6cc5 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_neovim-forest-night-git() { |