From 28a94ce07efb085f1a0c2bb9da7d5ae20fdfb3fb Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 22 Jun 2016 13:08:53 -0400 Subject: better pkgver --- quantlib/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quantlib/PKGBUILD b/quantlib/PKGBUILD index ba1b584..852ee82 100644 --- a/quantlib/PKGBUILD +++ b/quantlib/PKGBUILD @@ -4,13 +4,13 @@ # Contributor: masutu pkgname=quantlib -pkgver=QuantLib.v1.8.r59.g9e57512 +pkgver=1.8.r67.g6724b0b pkgrel=1 pkgdesc="A free/open-source library for quantitative finance." arch=('i686' 'x86_64') url="http://quantlib.org" license=('BSD') -options=(!libtool) +options=() depends=('boost-libs' 'sh') makedepends=('make' 'boost' 'gcc') source=('quantlib::git+https://github.com/thrasibule/QuantLib.git#branch=CDS') @@ -18,7 +18,7 @@ md5sums=('SKIP') pkgver() { cd "$pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^QuantLib-v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { -- cgit v1.2.3-70-g09d2