summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 714cead54d6..9bc629d4485 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Report all package issues to `https://github.com/SShrike/pkgbuilds`
pkgname=gtkd-git
-pkgver=r1258.4b67777
+pkgver=3.3.1.r1.7a4b7d7
pkgrel=1
pkgdesc='D bindings for GTK+ and related libraries.'
url='http://gtkd.org/'
@@ -23,7 +23,7 @@ md5sums=('SKIP')
pkgver() {
cd 'GtkD'
- echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {