diff options
author | Christian Krause | 2015-07-09 11:27:30 +0200 |
---|---|---|
committer | Christian Krause | 2015-07-09 11:27:30 +0200 |
commit | 20d7bc837e5ffd69dc292641b4f2c0ac33ab3e8c (patch) | |
tree | 31d49fca87e98fa34639387fcb631a5e7895c8bb /PKGBUILD | |
download | aur-20d7bc837e5ffd69dc292641b4f2c0ac33ab3e8c.tar.gz |
blast+-2.2.31-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8ebda68b38ee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com> + +pkgname=blast+ +pkgver=2.2.31 +pkgrel=1 +pkgdesc="finds regions of similarity between biological sequences" +arch=('i686' 'x86_64') +url="http://blast.ncbi.nlm.nih.gov/" +license=('custom') +depends=('lzo2' 'pcre' 'python') +makedepends=('cpio') +conflicts=('blast' 'blast+-bin' 'ncbi-blast' 'ncbi-blast+' 'cddlib' 'proj') +provides=('blast' 'blast+-bin' 'ncbi-blast' 'ncbi-blast+') +source=("ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$pkgver/ncbi-blast-$pkgver+-src.tar.gz" + 'typeinfo.patch') +md5sums=('f32bd2d2c66205c53c6981f94e1a0d54' + '9c257a762ce4e7418e95a48723832a86') + +prepare() { + cd $srcdir/ncbi-blast-$pkgver+-src/c++ + + patch -p1 -i $srcdir/typeinfo.patch + + sed -e '/if test "$with_mt" != "no" ; then/i compiler=GCC' \ + -i src/build-system/configure +} + +build() { + cd $srcdir/ncbi-blast-$pkgver+-src/c++ + + ./configure \ + --prefix=/usr \ + --with-dll \ + --with-mt \ + --without-gnutls + + make +} + +package() { + cd $srcdir/ncbi-blast-$pkgver+-src/c++ + + make prefix=$pkgdir/usr install + + chmod +x $pkgdir/usr/lib/*.so + + install -d $pkgdir/usr/share/licenses/$pkgname + + echo 'public domain' > $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |