summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Krause2017-03-31 13:12:07 +0200
committerChristian Krause2017-03-31 13:12:07 +0200
commit11fc917b57f3d735c914eef7d8953ce0e24a2561 (patch)
tree281c3809bc3d162d0269a0ab11528cf918fe99bb /PKGBUILD
downloadaur-11fc917b57f3d735c914eef7d8953ce0e24a2561.tar.gz
mothur-1.39.5-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f9ffb1adbb5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
+
+pkgname=mothur
+pkgver=1.39.5
+pkgrel=1
+pkgdesc="computational microbial ecology"
+arch=('i686' 'x86_64')
+url="https://www.mothur.org/"
+license=('GPL3')
+depends=('boost-libs')
+makedepends=('boost')
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mothur/mothur/archive/v$pkgver.tar.gz")
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+
+ sed -e 's|BOOST_LIBRARY_DIR="\\"Enter_your_boost_library_path_here\\""|BOOST_LIBRARY_DIR = /usr/lib|' \
+ -e 's|BOOST_INCLUDE_DIR="\\"Enter_your_boost_include_path_here\\""|BOOST_INCLUDE_DIR = /usr/include|' \
+ -i Makefile
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ install -Dm755 mothur $pkgdir/usr/bin/mothur
+ install -Dm755 uchime $pkgdir/usr/bin/uchime
+}
+
+md5sums=('1f826ea4420e6822fc0db002c5940b92')