updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / dune-grid / PKGBUILD
blob523fffcd11b52fc780021f5ee023ec638c3cb15f
1 # Maintainer: archlid <a_becker {at} live {dot} de>
2 pkgname=dune-grid
3 pkgver=2.0
4 pkgrel=1
5 pkgdesc="The Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods."
6 url="http://www.dune-project.org/"
7 arch=('any')
8 license=('GPL')
9 groups=('dune-project')
10 depends=('dune-common')
11 source=(http://www.dune-project.org/download/$pkgver/$pkgname-$pkgver.tar.gz)
12 md5sums=('d32b21ef013179c89e3f0c453bb4ed02')
13 options=('!libtool')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   # "make install" trys to compile a latex source file that is not available
19   sed -i -e "/refinement.tex/,+1d" "$srcdir/$pkgname-$pkgver/doc/refinement/Makefile.am"
21   ./configure --disable-gxx0xcheck --prefix=/usr
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install