summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49b34e2eb1eb2fd8cd96b3906e4345968f75e81a (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: Romain Beucher <romain@rbeucher.com>

pkgname=underworld2-git
pkgver=2.10
pkgrel=1
pkgdesc="Geodynamics modelling code"
arch=('x86_64')
url="http://underworldcode.org"
license=('GPL')
depends=('openmpi' 'hdf5-openmpi' 'petsc' 'python-matplotlib' 'python-numpy' 'python-mpi4py'
         'python-h5py-openmpi' 'swig' )
makedepends=('git' 'gcc-fortran' 'swig' 'scons' 'python-setuptools')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('underworld2::git+https://github.com/underworldcode/underworld2#branch=development')
noextract=()
md5sums=('SKIP')

build() {
    cd ${pkgname%-git}
    python setup.py build
}

package() {
    cd ${pkgname%-git}
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}