updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qn24b / PKGBUILD
blob663fe4ca482cc1007079b1030b89eb34c756f987
1 # Maintainer: kfgz <kfgz at interia pl>
3 pkgname=qn24b
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Benchmark that solves 24-queens problem. Openmp and standard version."
7 arch=('i686' 'x86_64')
8 url="http://www.arch.cs.titech.ac.jp/~kise/nq/index.htm"
9 license=('GPL')
10 source=(http://www.arch.cs.titech.ac.jp/~kise/nq/package/${pkgname}-version${pkgver}.tgz)
11 md5sums=('10fc6239b5e037b3c86890918d33b8f3')
13 build() {
14   cd ${srcdir}/version${pkgver}/base
15   rm qn24b_base
16   make
17   cd ../omp
18   make
21 package() {
22   cd ${srcdir}/version${pkgver}
23   install -m755 -D base/qn24b_base ${pkgdir}/usr/bin/qn24b_base
24   install -m755 -D omp/qn24b_openmp ${pkgdir}/usr/bin/qn24b_openmp