summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6239e273ccf..bc5be533a12 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = glade-git
pkgdesc = User interface builder for GTK+ and GNOME.
- pkgver = 3.19.0.r23.g7524d14
+ pkgver = 3.20.0.r211.g74b21b3
pkgrel = 1
url = http://glade.gnome.org/
install = glade.install
diff --git a/PKGBUILD b/PKGBUILD
index d76834462b0..9d4287b8266 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=glade-git
_gitname=glade
-pkgver=3.19.0.r23.g7524d14
+pkgver=3.20.0.r211.g74b21b3
pkgrel=1
pkgdesc="User interface builder for GTK+ and GNOME."
provides=('glade')
@@ -24,7 +24,10 @@ sha256sums=(SKIP)
pkgver() {
cd "$_gitname"
- git describe | sed 's/^GLADE_//; s/_/./g; s/-/.r/; s/-/./'
+ _minor_ver=`pcregrep -o1 '^m4_define\(glade_minor_version, (\d+)\)$' ./configure.ac`
+ _micro_ver=`pcregrep -o1 '^m4_define\(glade_micro_version, (\d+)\)$' ./configure.ac`
+ _rev=`git describe | sed 's/^GLADE[^-]*-/r/; s/-/./'`
+ echo "3.$_minor_ver.$_micro_ver.$_rev"
}
build() {