summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1f2c8be8f32313c9021597ee8acaab997d42363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>

_pkgname=phylobayes
pkgname=$_pkgname-mpi
pkgver=1.5a
pkgrel=1
pkgdesc="phylogenetic reconstruction using infinite mixtures"
arch=('i686' 'x86_64')
url="http://megasun.bch.umontreal.ca/People/lartillot/www/index.htm"
license=('GPL3')
conflicts=('phylobayes')
depends=('openmpi')
source=("http://megasun.bch.umontreal.ca/People/lartillot/www/pb_mpi$pkgver.tar.gz")
md5sums=('bbb2b9193329a7b2253160b817f9fc87')

build() {
  cd $srcdir/pb_mpi$pkgver/sources

  make
}

package() {
  cd $srcdir/pb_mpi$pkgver/data

  mkdir -p $pkgdir/usr/bin

  find -mindepth 1 -maxdepth 1 -type f -printf '%P\n' | while read file ; do
    cp $file $pkgdir/usr/bin
  done
}