summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Shparber2015-04-21 10:43:22 -0700
committerOleg Shparber2015-04-21 10:43:22 -0700
commitb0ffd77ab9930ba6b4d52e5715bf8356793849c9 (patch)
tree24524db2e55d277116f0bc50ffc219b2abb6d9dc
parent0960262e3dd0169180d264839a8bd8f01c03c1c2 (diff)
downloadaur-b0ffd77ab9930ba6b4d52e5715bf8356793849c9.tar.gz
zeal-git: Update pkgver() to use git tags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f5349e91ec8..4a5b8326449 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zeal-git
pkgdesc = An offline API documentation browser
- pkgver = 0.0.0.823.f860a3e
+ pkgver = 0.1.1.3.g32b059e
pkgrel = 1
url = http://zealdocs.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 54a4245f643..dba5b387953 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,7 @@ pkgname=zeal-git
# But he's using ``0.0+1snapshot201305312045+0100-1'' on PPA.
# Guess it's safe to use 3-digit for now.
_appname=zeal
-_pkgver=0.0.0
-pkgver=0.0.0.823.f860a3e
+pkgver=0.1.1.3.g32b059e
pkgrel=1
pkgdesc="An offline API documentation browser"
arch=('i686' 'x86_64')
@@ -21,7 +20,7 @@ sha1sums=('SKIP')
pkgver() {
cd ${srcdir}/${_appname}
- echo "$_pkgver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ git describe | sed 's/^v//;s/-/./g'
}
build() {