updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / trlan / PKGBUILD
blob7bea6bf9747cdf2610d38be08a7176ebe9239268
1 # Contributor: ConnorBehan <connor.behan@gmail.com>
2 pkgname=trlan
3 pkgver=20021121
4 pkgrel=1
5 pkgdesc="The thick-restart Lanczos algorithm for finding extremal eigenvalues of sparse symmetric matrices"
6 arch=(i686 x86_64)
7 url="http://crdl.lbl.gov/~kewu/trlan.html"
8 license=('custom')
9 depends=('lapack')
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)
14 build() {
15   cd $srcdir/TRLan
16   sed -i -e 's/f90/gfortran/g' Make.inc
17   sed -i -e 's/-ansi//g' Make.inc
18   make || return 1
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')