summaryrefslogtreecommitdiff
path: root/pcr/beast2/PKGBUILD
blob: 52720625cc8c57a69ca8fdb861cbcb9cca379ec7 (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
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>

pkgname=beast2
pkgver=2.1.3
pkgrel=1
pkgdesc='Bayesian Evolutionary Analysis by Sampling Trees'
arch=(any)
url="http://www.beast2.org/"
license=('GPL2')
depends=('bash' 'java-runtime')
source=(https://github.com/CompEvol/beast2/releases/download/v$pkgver/BEAST.v$pkgver.tgz)

package() {
  cd $srcdir

  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share

  cp -r BEAST $pkgdir/usr/share/beast2

  cd $pkgdir/usr/bin

  for i in ../share/beast2/bin/* ; do
    ln -s $i
  done
}