summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Iofel2020-03-08 00:18:32 -0500
committerBen Iofel2020-03-08 00:18:32 -0500
commit6c00cdce65175c13c30a8ed979f794f5e2c3b1f0 (patch)
tree256d1d1a876a82efd2e7679c476316ed4886081b
parentdecd913ea2d5254e92c768f8f09483ac763f84c8 (diff)
downloadaur-6c00cdce65175c13c30a8ed979f794f5e2c3b1f0.tar.gz
Update version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 509668cfe3b..e6cb218e0ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vala-language-server-git
pkgdesc = Language Server for Vala
- pkgver = VERSION
+ pkgver = 0.0.1.r0.881da9e8
pkgrel = 1
url = https://github.com/benwaffle/vala-language-server
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7c0f15d7616..040cd7a0a69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: benwaffle <vala@iofel.me>
# Maintainer: Prince781 <princetonferro@gmail.com>
pkgname=vala-language-server-git
-pkgver=r264.881da9e8
+pkgver=0.0.1.r0.881da9e8
pkgrel=1
pkgdesc='Language Server for Vala'
arch=('x86_64')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
#prepare() {