diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2016-06-22 13:08:53 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2016-06-22 13:08:53 -0400 |
| commit | 28a94ce07efb085f1a0c2bb9da7d5ae20fdfb3fb (patch) | |
| tree | e00fb16a50c7a9a47697ac3f09fbb62ebe21f37d | |
| parent | af403e72b45143a64fe1dbba6c40cbb4f498bf4e (diff) | |
| download | arch-pkgs-28a94ce07efb085f1a0c2bb9da7d5ae20fdfb3fb.tar.gz | |
better pkgver
| -rw-r--r-- | quantlib/PKGBUILD | 6 |
1 files 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 <masutu dot arch at googlemail dot com> 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() { |
