summaryrefslogtreecommitdiff
path: root/pcr/beast2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/beast2/PKGBUILD')
-rw-r--r--pcr/beast2/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/beast2/PKGBUILD b/pcr/beast2/PKGBUILD
new file mode 100644
index 000000000..52720625c
--- /dev/null
+++ b/pcr/beast2/PKGBUILD
@@ -0,0 +1,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
+}