From 7685d4e2ddc5886d5500622a21a0a6fce7e7ac57 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 3 Feb 2014 17:01:22 +0100 Subject: weechat-git: Fix pkgver() for rc release tag --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 314f7ec..48d7259 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by makepkg 4.2.1 -# Mon Jun 1 14:56:03 UTC 2015 +# Mon Jun 1 14:56:04 UTC 2015 pkgbase = weechat-git pkgdesc = Fast, light & extensible IRC client (curses UI) pkgver = git - pkgrel = 1 + pkgrel = 2 url = http://www.weechat.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 27e2ea1..5deb710 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgname=weechat-git pkgver=git -pkgrel=1 +pkgrel=2 pkgdesc="Fast, light & extensible IRC client (curses UI)" arch=('i686' 'x86_64') url="http://www.weechat.org/" @@ -23,7 +23,7 @@ md5sums=('SKIP') pkgver(){ cd weechat - git describe --tags --long | sed 's/^v//; s/-/-r/; s/-/./g' + git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } build() { -- cgit v1.2.3-70-g09d2