updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / r8s / PKGBUILD
blob27f4cee996a71aedb219dd05586bf330ccdba1c2
1 # Author:  Stunts <f.pinamartins@gmail.com>
3 pkgname=r8s
4 pkgver=1.71
5 pkgrel=1
6 pkgdesc="Analysis of rates ("r8s") of evolution"
7 arch=(i686 x86_64)
8 license=('Public Domain')
9 depends=('gcc-libs')
10 url="http://loco.biosci.arizona.edu/r8s/"
11 source=(http://loco.biosci.arizona.edu/r8s/${pkgname}${pkgver}.dist.tar.Z)
12 md5sums=('db250d5eb0b8078e9c08c966836ee1bf')
14 build() {
15   cd "${srcdir}/${pkgname}${pkgver}/src"
16   sed -i 's/FC = g77/FC = gfortran/g' Makefile
17   sed -i 's/LIBS =  -lg2c/LIBS =  -lgfortran/g' Makefile 
18   make || return 1
19   mkdir ${pkgdir}/usr
20   mkdir ${pkgdir}/usr/bin
21   cp r8s ${pkgdir}/usr/bin/
22 #  make DESTDIR="${pkgdir}" install || return 1