1 # Contributor: ConnorBehan <connor.behan@gmail.com>
5 pkgdesc="The thick-restart Lanczos algorithm for finding extremal eigenvalues of sparse symmetric matrices"
7 url="http://crdl.lbl.gov/~kewu/trlan.html"
10 makedepends=('gcc-fortran')
11 source=(http://codeforge.lbl.gov/frs/download.php/15/$pkgname.tar.gz \
12 http://lbl.gov/~kwu/trlan-license.txt)
16 sed -i -e 's/f90/gfortran/g' Make.inc
17 sed -i -e 's/-ansi//g' Make.inc
20 install -d $pkgdir/usr/lib
21 install -d $pkgdir/usr/share/doc
22 install -d $pkgdir/usr/share/info
23 install -d $pkgdir/usr/share/licenses
25 cp libtrlan.a $pkgdir/usr/lib/
26 cp doc/*.html $pkgdir/usr/share/doc/
27 cp doc/*.info* $pkgdir/usr/share/info/
28 cp $srcdir/trlan-license.txt $pkgdir/usr/share/licenses/
30 md5sums=('9d40431e887542523a81d55778437521' '9d1a871edbd72f88ffbf68454cf8ca4b')