# Contributor: Anton Bazhenov # Maintainer: Stefan Husmann pkgname=meep pkgver=1.10.0 pkgrel=1 pkgdesc="A free finite-difference time-domain simulation software package" arch=('x86_64') url="http://ab-initio.mit.edu/wiki/index.php/Meep" license=('GPL') depends=('openmpi' 'harminv' 'libctl' 'hdf5' 'gsl' 'fftw' 'guile' 'julia' 'mpb') makedepends=('gcc-fortran' 'suitesparse' 'swig') optdepends=('h5utils: for visualization and conversion of scientific data') options=('!libtool' '!makeflags' 'staticlibs') source=("$pkgname-$pkgver.tar.gz::https://github.com/stevengj/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('3c2eef3e37509ecbd1b5734f8fa93b589bd7089c61b0b1c0296e94ace51e2613') build() { cd $pkgname-$pkgver ./autogen.sh CFLAGS=" -fPIC" --prefix=/usr --enable-shared --with-mpi --without-python make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }