summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2018-09-09 21:00:54 +0200
committerhaawda2018-09-09 21:00:54 +0200
commit203e513a54204df5602eff361c68028dc88f5b62 (patch)
tree9cc8888e8763c2c46063c3660c892e2d3bad2651 /PKGBUILD
parent62f790612e59b0dee16d9ee86803460557ef3750 (diff)
downloadaur-203e513a54204df5602eff361c68028dc88f5b62.tar.gz
new pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 279acb563d98..c1a18323e171 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgbase=notmuch-git
arch=('i686' 'x86_64')
pkgname=('notmuch-emacs-git' 'notmuch-runtime-git' 'notmuch-python-git' 'notmuch-python2-git' 'notmuch-ruby-git' 'notmuch-vim-git' 'notmuch-mutt-git')
epoch=3
-pkgver=0.27.1.28.g87934c43
+pkgver=0.27.3.31.g8dcc38ce
pkgrel=1
url="https://notmuchmail.org/"
license=('GPL3')
@@ -21,7 +21,7 @@ md5sums=('SKIP')
pkgver() {
cd "${pkgbase%-git}"
- git describe --long --tags|tr - . |tr -d "debian/"
+ git describe --long --tags|cut -d/ -f 3 |tr - .
}
prepare(){