Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $Id$
- # Maintainer: Grey Christoforo <first name [at] last name [dot] net>
- pkgname=bowtie2
- pkgver=2.2.8
- pkgrel=1
- pkgdesc="Bowtie 2 is an ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequence."
- arch=('x86_64' 'i686')
- optdepends=('intel-tbb: faster multithreading')
- url="http://bowtie-bio.sourceforge.net/bowtie2"
- license=('GPL3')
- source=("https://github.com/BenLangmead/${pkgname}/archive/v${pkgver}.tar.gz")
- md5sums=('42948ac7744d691a7a643ed94a36ed63')
- prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make clean
- }
- build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- if pacman -Q intel-tbb > /dev/null 2>/dev/null; then
- msg2 "Building with Intel's TBB multithreading support"
- #WITH_TBB=1 make
- # tbb is broken in this release...remove this when fixed
- WITH_TBB=0 make
- else
- msg2 "You haven't installed the intel-tbb package; building without Intel's TBB multithreading support"
- WITH_TBB=0 make
- fi
- }
- package() {
- mkdir -p "${pkgdir}/opt/${pkgname}"
- cp -a "${srcdir}/${pkgname}-${pkgver}"/* "${pkgdir}/opt/${pkgname}"/.
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" prefix="/usr" install
- install -Dm644 ${srcdir}/${pkgname}-${pkgver}/MANUAL -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement