updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / blast / PKGBUILD
blob65157a20edbe199fc2661baac474d7221aba6b84
1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
2 # Contributor: Brendan Long <korin43@gmail.com>
4 pkgname=blast
5 pkgver=2.2.25
6 pkgrel=1
7 pkgdesc="Basic Local Alignment Search Tool: BLAST finds regions of similarity between biological sequences"
8 arch=('i686' 'x86_64')
9 url="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastHome"
10 license=('custom')
11 makedepends=()
12 options=()
14 _arch=$CARCH
15 [ $CARCH == i686 ] && _arch="ia32"
16 [ $CARCH == x86_64 ] && _arch="x64"
17 source=(ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-$pkgver-$_arch-linux.tar.gz)
18 [ $CARCH == i686 ] && md5sums=('7b87d17d8503b73ab609feab133f2a0d')
20 [ $CARCH == x86_64 ] && md5sums=('4326f0e436380726c56f46a11350d7bd')
22 build() {
23         mkdir -p $pkgdir/usr/share/doc/blast/
24         mkdir -p $pkgdir/usr/share/blast/
25         mkdir -p $pkgdir/usr
26         cp -r $srcdir/blast-$pkgver/bin $pkgdir/usr
27         cp -r $srcdir/blast-$pkgver/doc/* $pkgdir/usr/share/doc/blast
28         cp -r $srcdir/blast-$pkgver/data/* $pkgdir/usr/share/blast
30 # vim:set ts=2 sw=2 et: