# Contributor: Anton Bazhenov # Maintainer: Stefan Husmann pkgname=meep pkgver=1.5.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-git' 'libctl>=4.1.0' 'hdf5' 'gsl' 'fftw' 'guile' 'julia') makedepends=('gcc-fortran' 'suitesparse' 'python' 'swig') optdepends=('h5utils: for visualization and conversion of scientific data') options=('!libtool' '!makeflags') source=("$pkgname-$pkgver.tar.gz::https://github.com/stevengj/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('37112ad105f8e72b80f701a5c6fd9e457f68bb8dc64b743d01308ce5459ecba3') build() { cd $pkgname-$pkgver ./autogen.sh CFLAGS=" -fPIC" --prefix=/usr --enable-shared --with-mpi make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }