summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eefd90fef447e1a136d2b2ab75242bbc2fe74a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Michael Schubert <mschu.dev at gmail>

pkgname=sundials23
_pkgname=sundials
pkgver=2.3.0
pkgrel=1
pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
arch=('i686' 'x86_64')
url="https://computation.llnl.gov/casc/sundials/main.html"
license=('BSD')
provides=('sundials')
conflicts=('sundials')
options=('!libtool')
source=("http://computation.llnl.gov/casc/sundials/download/code/$_pkgname-$pkgver.tar.gz")
md5sums=('c236f2a7e0e6a03b8fab3d189471b933')

build() {
    cd "$srcdir/$_pkgname-$pkgver"
    ./configure F77=gfortran --prefix=/usr --disable-mpi --with-cflags=-fPIC --enable-shared
    make
}

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    make prefix="$pkgdir/usr" install
}