updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / qap / PKGBUILD
bloba0801c258403b0984425a68f69770b4b103ca358
1 # Maintainer: <kfgz at interia dot pl>
3 pkgname=qap
4 _examples_ver=0.5.3
5 pkgver=0.5.2
6 pkgrel=1
7 pkgdesc="Quadratic assignment problem solver"
8 arch=('i686' 'x86_64')
9 url="https://projects.coin-or.org/metslib/wiki/QuadraticAssignmentProblem"
10 license=('GPL3')
11 depends=('metslib')
12 source=(http://www.coin-or.org/download/source/metslib/Examples-${_examples_ver}.tgz)
13 md5sums=('33614bbfc74a3e52007de0c643c7d4a0')
15 build() {
16   cd "${srcdir}"/Examples-${_examples_ver}/qap-${pkgver}
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "${srcdir}"/Examples-${_examples_ver}/qap-${pkgver}
23   make DESTDIR="${pkgdir}" install
24   install -dm755 "${pkgdir}"/usr/share/qap/examples
25   install -m644 data/* "${pkgdir}"/usr/share/qap/examples
26   rm "${pkgdir}"/usr/share/qap/examples/Makefile*