diff options
author | Sýlvan Heuser | 2019-03-10 16:31:32 +0100 |
---|---|---|
committer | Sýlvan Heuser | 2019-03-10 16:31:32 +0100 |
commit | a6c499b11211a3160cfabfadba081c0497831601 (patch) | |
tree | dfcad1c3169569a5c8ce6bc79bdcdc368b7ac94e /PKGBUILD | |
parent | e36055b021eaabea89d7f764c6f42f3b8ceaa7df (diff) | |
download | aur-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-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)" ) } |