summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAve O2018-07-30 00:00:59 +0300
committerAve O2018-07-30 00:00:59 +0300
commit9aa9a1186d6e404b2a7200be17bce208bb3c5bc4 (patch)
tree6a97ffc2c9e6841276daa0aee474d8338326c921
parentf3f2675f683a703979b0d53441a1bd18c77f2793 (diff)
downloadaur-9aa9a1186d6e404b2a7200be17bce208bb3c5bc4.tar.gz
Update PKGBUILD so that versions are done properly
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f416f5c5d0..50de2d127c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gajimbo-git
pkgdesc = A fork of Gajim with various enhancements, written in Python with GTK+
- pkgver = 4a7111c3be
+ pkgver = v1.0.3.1.gc7bdd1c71
pkgrel = 1
url = https://git.a3.pm/a/gajimbo
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 17be0d0646f..a305d612e83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_name=gajimbo
pkgname="$_name-git"
-pkgver=4a7111c3be
+pkgver=v1.0.3.1.gc7bdd1c71
pkgrel=1
pkgdesc="A fork of Gajim with various enhancements, written in Python with GTK+"
arch=('any')
@@ -42,7 +42,8 @@ md5sums=('SKIP')
pkgver() {
cd $_name
- git rev-parse HEAD | cut -c1-10
+ # git rev-parse HEAD | cut -c1-10
+ git describe --long --tags | tr - .
}
package() {