diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f8ccf6ad2d07 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Mar 31 11:08:08 UTC 2017 +pkgbase = mothur + pkgdesc = computational microbial ecology + pkgver = 1.39.5 + pkgrel = 1 + url = https://www.mothur.org/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = boost + depends = boost-libs + source = mothur-1.39.5.tar.gz::https://github.com/mothur/mothur/archive/v1.39.5.tar.gz + md5sums = 1f826ea4420e6822fc0db002c5940b92 + +pkgname = mothur + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..42ab3cf03f2d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pkg.tar* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f9ffb1adbb50 --- /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') |