summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Flament2017-12-08 21:57:16 +0100
committerDamien Flament2017-12-08 21:57:16 +0100
commit79a05b1ddb989745fb095fb362a5330a00a64763 (patch)
treeb8b4d1c082c047d61a0c311da25df347a3590dc5
parent9b46a8fea54810b2b068c25db1d86224f930b68a (diff)
downloadaur-79a05b1ddb989745fb095fb362a5330a00a64763.tar.gz
Added the revisions count to the version number
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4dd74eccbe4..68da5810c58 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = haskell-ide-engine-git
pkgdesc = The engine for haskell ide-integration. Not an IDE.
- pkgver = 7017233
+ pkgver = r1101.7017233
pkgrel = 1
url = https://github.com/haskell/haskell-ide-engine
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index af88c59c8dd..d044a90b71b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=haskell-ide-engine
pkgname=${_pkgname}-git
-pkgver=7017233
+pkgver=r1101.7017233
pkgrel=1
pkgdesc="The engine for haskell ide-integration. Not an IDE."
arch=('i686' 'x86_64')
@@ -25,7 +25,7 @@ validpgpkeys=()
pkgver() {
cd "${srcdir}/${_pkgname}"
- git describe --always
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {