summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Griffis2015-09-13 09:36:08 -0400
committerPatrick Griffis2015-09-13 09:36:08 -0400
commitb6aee7e811f9cfb75bea300609bc29e28f6ac85c (patch)
treea547174e343ae09f887c4865f0152656ccb9646f
parent1e97f7459a36b9c48b28c96bf8af43ebc51fffb1 (diff)
downloadaur-b6aee7e811f9cfb75bea300609bc29e28f6ac85c.tar.gz
Improve pkgver()
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c53f5f15dc4..d76834462b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=glade-git
_gitname=glade
-pkgver=3.18.0.55f8a6d
+pkgver=3.19.0.r23.g7524d14
pkgrel=1
pkgdesc="User interface builder for GTK+ and GNOME."
provides=('glade')
@@ -23,8 +23,8 @@ sha256sums=(SKIP)
pkgver() {
cd "$_gitname"
- rev=`git rev-parse --short HEAD`
- echo "3.18.0.$rev"
+
+ git describe | sed 's/^GLADE_//; s/_/./g; s/-/.r/; s/-/./'
}
build() {