updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / liblbfgs / PKGBUILD
blobc295a5e026be96f5919b12f38630c994a1dea64a
1 # Maintainer: ngukho <ngukho at gmail dot com>
2 pkgname=liblbfgs
3 pkgver=1.10
4 pkgrel=1
5 pkgdesc="A C port of the implementation of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal."
6 arch=('i686' 'x86_64')
7 url="http://www.chokkan.org/software/liblbfgs/"
8 license=('custom:MIT')
9 source=("https://github.com/downloads/chokkan/liblbfgs/$pkgname-$pkgver.tar.gz")
10 md5sums=('2a46da6c4014d6b1e8a8790a93edffbb') #generate with 'makepkg -g'
12 build() {
13   cd "$srcdir/$pkgname-$pkgver"
15   ./configure --prefix=/usr
16   make || return 1
17   make DESTDIR="$pkgdir/" install
19   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/liblbfgs/COPYING
22 # vim:set ts=2 sw=2 et: