summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSýlvan Heuser2019-03-10 16:31:32 +0100
committerSýlvan Heuser2019-03-10 16:31:32 +0100
commita6c499b11211a3160cfabfadba081c0497831601 (patch)
treedfcad1c3169569a5c8ce6bc79bdcdc368b7ac94e /PKGBUILD
parente36055b021eaabea89d7f764c6f42f3b8ceaa7df (diff)
downloadaur-libpurple-lurch-git.tar.gz
libpurple-lurch-git: Use unannotated tags
Upstream has no annotated tags (as is recommended for release tags) but instead uses unannotated tags. The `pkgver()` function now includes those in its search.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7c5754a53912..b486aaa7b29e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=libpurple-lurch-git
_pkgname=lurch
-pkgver=r117.3f74880
-pkgrel=1
+pkgver=v0.6.8.r0.g3f74880
+pkgrel=2
pkgdesc='Plugin for libpurple (Pidgin, Adium, etc) implementing OMEMO (using axolotl)'
arch=('i686' 'x86_64')
url="https://github.com/gkdr/lurch"
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
pkgver () {
cd "$srcdir/$_pkgname"
( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}