updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / minuit / PKGBUILD
blob64fdf3bdf4682b4c19929728ff6c6ca7d481baeb
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Maintainer: Sebastien Binet <binet@cern.ch>
4 pkgname=minuit
5 pkgver=1.7.9
6 pkgrel=2
7 pkgdesc="A physics analysis tool for function minimization (version 1.x)"
8 arch=('i686' 'x86_64')
9 url="http://lcgapp.cern.ch/project/cls/work-packages/mathlibs/minuit/"
10 license=('LGPL')
11 depends=('libstdc++5')
12 options=('!libtool')
13 source=(http://seal.web.cern.ch/seal/minuit/releases/${pkgname/m/M}-${pkgver//./_}.tar.gz \
14   minuit.patch)
15 md5sums=('10fd518fc778317fdadbc4ef6f7ce8e4'
16          'a17e50fb6c0393c0450af15348b6d500')
18 build() {
19   cd $srcdir/${pkgname/m/M}-${pkgver//./_}
20   patch -p0 -i ../minuit.patch || return 1
21   ./configure --prefix=/usr || return 1
22   make || return 1
23   make DESTDIR=$pkgdir install || return 1