summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2020-04-13 22:07:39 +0200
committerhaawda2020-04-13 22:07:39 +0200
commit599311317959bd3ace6e9eabb11c28d70b44aa2f (patch)
treede1776bac4e7e396377da6fea1cdcac86f3f1a14 /PKGBUILD
parentb73c98a191120a731c1ad6cc406d31aaaf0daabd (diff)
downloadaur-599311317959bd3ace6e9eabb11c28d70b44aa2f.tar.gz
change pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 61cca516a85..d28eda5693f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {