updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / blast+-bin / PKGBUILD
blob7227390741c3e9c4e43e858518ce1fec741fbd44
1 # Maintainer : yescalona <yescalona[at]ug[dot]uchile[dot]cl>
2 # Contributor : soeren <nonick[at]posteo[dot]de>
4 pkgname=('blast+-bin')
5 pkgver=2.2.25
6 pkgrel=1
7 pkgdesc="New suite of BLAST tools that utilizes the NCBI C++ Toolkit"
8 arch=('i686' 'x86_64')
9 url="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastHome"
10 license=('custom')
11 depends=('perl' 'bzip2')
13 _arch=$CARCH
14 [ $CARCH == i686 ] && _arch="ia32"
15 [ $CARCH == x86_64 ] && _arch="x64"
16 source=(ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${pkgver}/ncbi-blast-${pkgver}+-${_arch}-linux.tar.gz)
17 [ $CARCH == i686 ] && md5sums=('86eea4a25ec6774f2a7c464743574c0a')
18 [ $CARCH == x86_64 ] && md5sums=('d3ac41f3b8695c83d066141af1b0ec13')
20 build() {
21         cd ${srcdir}/ncbi-blast-${pkgver}+
22         install -d ${pkgdir}/usr/bin
23         install -d ${pkgdir}/usr/share/doc/${pkgname}
24         install -Dm755 bin/* ${pkgdir}/usr/bin
25         install -Dm644 doc/* ${pkgdir}/usr/share/doc/${pkgname}
26         install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/blast+-bin/LICENSE