1 # Maintainer: boenki <boenki at gmx dot de>
2 # Contributor: Mick Elliot <micke at sfu dot ca>
7 pkgdesc="Multiple alignment program for amino acid or nucleotide sequences"
9 url="http://mafft.cbrc.jp/alignment/software"
12 source=($url/$pkgname-$pkgver-with-extensions-src.tgz)
13 md5sums=('3255f8ff21ae02b56148e69109d8f20b')
16 cd $srcdir/$pkgname-$pkgver-with-extensions/core
17 make -e PREFIX=/usr LIBDIR=/usr/lib/mafft
20 make -e PREFIX=/usr LIBDIR=/usr/lib/mafft
24 cd $srcdir/$pkgname-$pkgver-with-extensions/core
25 make PREFIX=$pkgdir/usr LIBDIR=$pkgdir/usr/lib/mafft install
28 make PREFIX=$pkgdir/usr LIBDIR=$pkgdir/usr/lib/mafft install
31 install -Dm644 license $pkgdir/usr/share/licenses/mafft/license
32 install -Dm644 license.extensions $pkgdir/usr/share/licenses/mafft/license.extensions
34 rm $pkgdir/usr/lib/mafft/*.1
36 ln -sf /usr/lib/mafft/mafft-profile $pkgdir/usr/bin
37 ln -sf /usr/lib/mafft/mafft-distance $pkgdir/usr/bin