updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / metslib / PKGBUILD
blob5b6ec72da00feb5d35b1626d0361bd870e4c7b60
1 # Maintainer: kfgz <kfgz at interia pl>
3 pkgname=metslib
4 pkgver=0.5.3
5 pkgrel=1
6 pkgdesc="An OO (Object Oriented) metaheuristics optimization framework in C++"
7 arch=('i686' 'x86_64')
8 url="https://projects.coin-or.org/metslib"
9 license=('GPL3')
10 conflicts=('metslib-svn' 'metslib-newest')
11 #provides=("metslib=${pkgver}")
12 source=(http://www.coin-or.org/download/source/${pkgname}/${pkgname}-${pkgver}.tgz)
13 md5sums=('abe958de95754786e9d3bcce30d997e7')
15 build() {
16   cd "${srcdir}"/${pkgname}-${pkgver}
17   sed -i "s/-O3/-O2/g" configure
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd "${srcdir}"/${pkgname}-${pkgver}
24   make DESTDIR="${pkgdir}" install