diff options
author | Winston Wu | 2017-08-23 18:35:36 +0000 |
---|---|---|
committer | Winston Wu | 2017-08-23 18:35:36 +0000 |
commit | da5be6a7aeeb62202adf1b69ef26aaddf01d901a (patch) | |
tree | 07dc80858493cd964b50b1381f79e73785885a9d | |
download | aur-da5be6a7aeeb62202adf1b69ef26aaddf01d901a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3f400076c5e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Wed Aug 23 18:35:15 UTC 2017 +pkgbase = code_saturne + pkgdesc = An open source CFD software which solves the Navier-Stokes equations under different circumstances. + pkgver = 5.0.3 + pkgrel = 1 + url = http://code-saturne.org + arch = x86_64 + license = GPL + makedepends = doxygen + makedepends = graphviz + depends = openmpi + depends = libxml2 + depends = python-pyqt5 + depends = cgns + depends = parmetis + depends = scotch + depends = med + depends = hdf5-openmpi + source = http://code-saturne.org/cms/sites/default/files/releases/code_saturne-5.0.3.tar.gz + md5sums = 78163dc9fe421d12e036de20d0e3437e + +pkgname = code_saturne + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..303999a1788c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Heavysink <winstonwu91@gmail.com> +pkgname=code_saturne +pkgver=5.0.3 +pkgrel=1 +pkgdesc="An open source CFD software which solves the Navier-Stokes equations under different circumstances." +arch=(x86_64) +url="http://code-saturne.org" +license=('GPL') +depends=('openmpi' 'libxml2' 'python-pyqt5' 'cgns' 'parmetis' 'scotch' 'med' 'hdf5-openmpi') +makedepends=('doxygen' 'graphviz') +source=("http://code-saturne.org/cms/sites/default/files/releases/$pkgname-$pkgver.tar.gz") +md5sums=('78163dc9fe421d12e036de20d0e3437e') + +build() { + cd "$pkgname-$pkgver" + CC=mpicc CXX=mpicxx FC=mpif90 ./configure --enable-shared --with-metis=/usr --with-scotch=/usr --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |