1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Tom K <tomk@runbox.com>
7 pkgdesc="A program for computing the band structures and electromagnetic modes"
9 url="http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands"
11 depends=('lapack' 'hdf5' 'fftw2' 'guile' 'libctl')
12 makedepends=('gcc-fortran')
13 source=(http://ab-initio.mit.edu/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('e1e618b0db343a7a3fc38eabd69d008b')
17 cd "$srcdir"/$pkgname-$pkgver
18 # configure includes two options for working with GNU Fortran and HDF5 v1.8.x
21 CPPFLAGS="-DH5_USE_16_API=1" \
23 --mandir=/usr/share/man
27 cd "$srcdir"/$pkgname-$pkgver
29 prefix="$pkgdir"/usr \
30 mandir="$pkgdir"/usr/share/man \