updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / phylip / PKGBUILD
blob5e8e9a7fe3d6f20bc6c5f147e3b0791baac247c2
1 # Maintainer: Michael Schubert <mschu.dev at gmail>
2 # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
3 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
5 pkgname=phylip
6 pkgver=3.69
7 pkgrel=2
8 pkgdesc="Phylip is a collection of programmes for evolutive genetics and inferring phylogenies"
9 arch=('i686' 'x86_64')
10 url=("http://evolution.genetics.washington.edu/phylip.html")
11 source=("http://evolution.gs.washington.edu/phylip/download/phylip-$pkgver.tar.gz")
12 depends=('libxaw')
13 license=('custom')
14 md5sums=('7ad50618173efc2a471d93bfca22042c')
16 build() {
17   cd $srcdir/$pkgname-$pkgver/src
18   make all || return 1
19   make EXEDIR="$pkgdir/usr/bin" put || return 1
21   # put fonts in the proper place.
22   mkdir -p $pkgdir/usr/share/phylip/
23   mv $pkgdir/usr/bin/font* $pkgdir/usr/share/phylip
24   cp $pkgdir/usr/share/phylip/font1 $pkgdir/usr/share/phylip/fontfile
26   # /usr/bin/factor is part of coreutils - factor -> factor_phylip
27   mv "$pkgdir/usr/bin/factor" "$pkgdir/usr/bin/factor_phylip"
29   install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/LICENSE