pkgname=cminpack pkgver=1.1.3 pkgrel=3 pkgdesc="cMinpack is probably the best open-source implementation of the Levenberg-Marquardt algorithm" arch=('i686' 'x86_64') url='http://devernay.free.fr/hacks/cminpack/cminpack.html' license=('GPL' 'LGPL') makedepends=('make' 'pkgconfig') source=("http://devernay.free.fr/hacks/cminpack/cminpack-1.1.3.tar.gz" "lib64-to-lib.patch") build() { cd $srcdir patch -p0 < lib64-to-lib.patch mkdir build cd build cmake ../cminpack-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make make DESTDIR=$pkgdir install } md5sums=('3573b33d498cc1bf3787a86efbd12c3a' '5ad00939d7e208f694c0af5ed5013dc4')