diff options
author | haawda | 2018-09-09 21:00:54 +0200 |
---|---|---|
committer | haawda | 2018-09-09 21:00:54 +0200 |
commit | 203e513a54204df5602eff361c68028dc88f5b62 (patch) | |
tree | 9cc8888e8763c2c46063c3660c892e2d3bad2651 | |
parent | 62f790612e59b0dee16d9ee86803460557ef3750 (diff) | |
download | aur-203e513a54204df5602eff361c68028dc88f5b62.tar.gz |
new pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ pkgbase = notmuch-git - pkgver = 0.27.1.28.g87934c43 + pkgver = 0.27.3.31.g8dcc38ce pkgrel = 1 epoch = 3 url = https://notmuchmail.org/ @@ -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(){ |