diff options
author | haawda | 2020-04-13 22:07:39 +0200 |
---|---|---|
committer | haawda | 2020-04-13 22:07:39 +0200 |
commit | 599311317959bd3ace6e9eabb11c28d70b44aa2f (patch) | |
tree | de1776bac4e7e396377da6fea1cdcac86f3f1a14 | |
parent | b73c98a191120a731c1ad6cc406d31aaaf0daabd (diff) | |
download | aur-599311317959bd3ace6e9eabb11c28d70b44aa2f.tar.gz |
change pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = bibtool-git pkgdesc = Command line manipulation of BibTeX files - from git-repo - pkgver = 2.67.11.ga7f8b05 + pkgver = 2.68.r5.g58f538c pkgrel = 1 url = http://www.gerd-neugebauer.de/software/TeX/BibTool/ arch = i686 @@ -1,6 +1,6 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=bibtool-git -pkgver=2.67.11.ga7f8b05 +pkgver=2.68.r5.g58f538c pkgrel=1 pkgdesc="Command line manipulation of BibTeX files - from git-repo" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ options=('!makeflags') pkgver() { cd ${pkgname%-git} - git describe --tags | sed 's|[-_]|.|g' | cut -c9- + git describe --tags | cut -c9- | tr _ . | sed 's+-+.r+' | tr - . } build() { |