diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 20 insertions, 18 deletions
@@ -1,17 +1,13 @@ -# Generated by mksrcinfo v8 -# Fri Apr 7 19:02:50 UTC 2017 pkgbase = cminpack pkgdesc = A C/C++ rewrite of the MINPACK software - pkgver = 1.3.6 - pkgrel = 1 + pkgver = 1.3.8 + pkgrel = 3 url = http://devernay.free.fr/hacks/cminpack/cminpack.html - arch = i686 arch = x86_64 - license = GPL - license = LGPL + license = BSD makedepends = cmake - source = http://devernay.free.fr/hacks/cminpack/cminpack-1.3.6.tar.gz - md5sums = 2c7f81105f94ea9268617a1748cc3506 + depends = cblas + source = https://github.com/devernay/cminpack/archive/v1.3.8.tar.gz + sha256sums = 3ea7257914ad55eabc43a997b323ba0dfee0a9b010d648b6d5b0c96425102d0e pkgname = cminpack - @@ -1,15 +1,21 @@ -# Contributor: Figo.zhang <figo1802@gmail.com> - pkgname=cminpack -pkgver=1.3.6 -pkgrel=1 +pkgver=1.3.8 +pkgrel=3 pkgdesc="A C/C++ rewrite of the MINPACK software" -arch=('i686' 'x86_64') +arch=('x86_64') url='http://devernay.free.fr/hacks/cminpack/cminpack.html' -license=('GPL' 'LGPL') +license=('BSD') +depends=('cblas') makedepends=('cmake') -source=("http://devernay.free.fr/hacks/cminpack/cminpack-${pkgver}.tar.gz") -md5sums=('2c7f81105f94ea9268617a1748cc3506') +source=("https://github.com/devernay/cminpack/archive/v${pkgver}.tar.gz") +sha256sums=('3ea7257914ad55eabc43a997b323ba0dfee0a9b010d648b6d5b0c96425102d0e') + +prepare() { + cd $srcdir/cminpack-${pkgver} + # mkl detection + curl -L https://github.com/devernay/cminpack/pull/51.patch | patch -p1 + curl -L https://github.com/devernay/cminpack/pull/52.patch | patch -p1 +} build() { cd $srcdir/cminpack-${pkgver} |