summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEric Fung2021-12-12 07:17:43 -0800
committerEric Fung2021-12-12 07:17:43 -0800
commit06e374239677af284ddeface3ebbfc1c1ebf97ce (patch)
tree156e14a325554c2c9ab4a8c60cfc8c04e83db486 /PKGBUILD
parent4659c07e6093059ee20293ea5ec3d6af3078dd58 (diff)
downloadaur-vim-apprentice-git.tar.gz
Removed the 'v' prefix from the version number
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b8d967f1ad1..9bf08786f68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Eric Fung <loseurmarbles at gmail dot com>
pkgname=vim-apprentice-git
-pkgver=v1.9.r53.g3491eda
+pkgver=1.9.r53.g3491eda
pkgrel=1
pkgdesc="A dark, low-contrast colorscheme for Vim based on Sorcerer by Jeet Sukumaran"
arch=('any')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
- 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() {