summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-04-13 22:07:39 +0200
committerhaawda2020-04-13 22:07:39 +0200
commit599311317959bd3ace6e9eabb11c28d70b44aa2f (patch)
treede1776bac4e7e396377da6fea1cdcac86f3f1a14
parentb73c98a191120a731c1ad6cc406d31aaaf0daabd (diff)
downloadaur-599311317959bd3ace6e9eabb11c28d70b44aa2f.tar.gz
change pkgver function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e497bed9dc..9f45087a1f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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() {