summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3ecba02d0d6ec27795c8567158ef130bd65976a (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
pkgname=bucky
pkgver=1.4.4
pkgrel=4
pkgdesc="Bayesian Untangling of Concordance Knots https://doi.org/10.1093/bioinformatics/btq539"
arch=('x86_64')
conflicts=('mpi-bucky')
url="https://pages.stat.wisc.edu/~ane/bucky/"
license=('GPL')
depends=('gcc-libs' 'boost-libs')
makedepends=('clang' 'boost')
source=("http://dstats.net/download/http://www.stat.wisc.edu/~ane/bucky/v${pkgver%.*}/bucky-${pkgver}.tgz")
sha256sums=('1621fee0d42314d9aa45d0082b358d4531e7d1d1a0089c807c1b21fbdc4e4592')

build() {
  cd "$srcdir/$pkgname-$pkgver/src"
  for file in TaxonSet Alias mbsumtree TGM Quartets mbsumtree
do
	clang++ -c $file.C
done
clang++ bucky.C TaxonSet.o Alias.o mbsumtree.o TGM.o Quartets.o -o bucky
clang++ mbsum.C mbsumtree.o -o mbsum 
}

package() {
  cd "$srcdir/$pkgname-$pkgver/src"
for bin in bucky mbsum
do
  install -Dm 755 $bin $pkgdir/usr/bin/$bin
done
}