summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Joram2016-05-04 23:30:28 +0200
committerPhilipp Joram2016-05-04 23:30:28 +0200
commit8ee54366105d669ce92ebc9655f5a9df7b2c77cb (patch)
treed02ed519d50db84dc5bec6fea02b5f15cc39ea95
parent44d18ae011af9966fe91f6cc71f16dc48dedfdad (diff)
downloadaur-8ee54366105d669ce92ebc9655f5a9df7b2c77cb.tar.gz
Update pkgver()
axolotl now uses tags in its repo. Make sure not to break the old version scheme and only output 'r{commit}.{hash}'.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93d615d38c9..f9014b99dee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Wed May 4 21:29:01 UTC 2016
pkgbase = python-axolotl-git
pkgdesc = The python-axolotl package, needed for Whatsapp Moxie support
- pkgver = r39.9585d72
+ pkgver = r70.72f7c44
pkgrel = 1
url = https://github.com/tgalal/python-axolotl
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 2a527c072a0..75304130ce8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname='python-axolotl-git'
_pkgname='python-axolotl'
-pkgver=r39.9585d72
+pkgver=r70.72f7c44
pkgrel=1
pkgdesc="The python-axolotl package, needed for Whatsapp Moxie support"
url="https://github.com/tgalal/python-axolotl"
@@ -18,10 +18,7 @@ sha512sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {