# Maintainer: Andrew O'Neill # Contributor: Christian Krause ("wookietreiber") pkgname=mothur pkgver=1.44.2 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' 'hdf5') options=('!buildflags') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('a79f55655a9519b357aa764972df8c5f183063ca8e278b46a204f5a2703e3d45') prepare() { cd "${pkgname}-${pkgver}" sed -i 's/.\/make/make/g' Makefile } build() { cd "${pkgname}-${pkgver}" make } package() { cd "${pkgname}-${pkgver}" install -Dm755 mothur "${pkgdir}/usr/bin/mothur" install -Dm755 uchime "${pkgdir}/usr/bin/uchime" }