updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / muscle / PKGBUILD
blobcd9c9babbf482ab93e28b09b388187ebf89025a5
1 # $Id: PKGBUILD 8735 2008-08-16 04:57:16Z eric $
2 # Maintainer: Mick Elliot <micke@sfu.ca>
3 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
5 pkgname=muscle
6 pkgver=3.8.31
7 origver=3.7
8 pkgrel=1
9 pkgdesc="multiple sequence comparison by log-expectation"
10 arch=('i686' 'x86_64')
11 url="http://www.drive5.com/muscle/"
12 license=('custom')
13 depends=('gcc-libs')
14 source=(http://www.drive5.com/muscle/downloads${pkgver}/muscle${pkgver}_src.tar.gz LICENSE)
15 md5sums=('f767f00fd15f0c5db944d41936779e10' '57cfb6975987af93c89977f084d53b72')
17 build() {
18   cd $startdir/src/muscle${pkgver}/src
19   if [ "${CARCH}" = "i686" ]; then
20     make CFLAGS=" -march=i686 -mtune=generic -O2 -pipe" LDLIBS=" -lm" || return 1
21   else
22     make CFLAGS=" -march=x86-64 -mtune=generic -O2 -pipe" LDLIBS=" -lm" || return 1
23   fi
25   install -D -m755 muscle $startdir/pkg/usr/bin/muscle
26   install -D -m644 ../../../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE