# Maintainer: Andrew O'Neill # Contributor: Christian Krause ("wookietreiber") pkgname=mothur pkgver=1.40.4 pkgrel=1 pkgdesc='A bioinformatics program for analyzing microbial communities.' arch=('x86_64') url='https://www.mothur.org/' license=('GPL3') depends=('boost-libs') makedepends=('boost') source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('cb3321b1c7e36e79a318a52671d20d5ea5891d1de1125371b8f325cdf6d6d10c') prepare() { cd "${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 "${pkgname}-${pkgver}" make } package() { cd "${pkgname}-${pkgver}" install -Dm755 mothur "${pkgdir}/usr/bin/mothur" install -Dm755 uchime "${pkgdir}/usr/bin/uchime" }