summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Hochsteger2017-06-02 18:17:36 +0200
committerFelix Schindler2017-06-09 08:30:05 +0200
commit6a27d99fb95a8cb98c655e041fd65ec6b06a192d (patch)
tree6f165c469b3698de4f4356a8b6844301201905cb
parent8a3bc56f687d12f27415c5cd82d7dd348e871956 (diff)
downloadaur-6a27d99fb95a8cb98c655e041fd65ec6b06a192d.tar.gz
update
Signed-off-by: Felix Schindler <aur@felixschindler.net>
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD22
2 files changed, 13 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7232dbd3586..436498ca04a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Aug 10 12:50:22 UTC 2016
+# Thu Jun 8 21:51:48 UTC 2017
pkgbase = ngsolve-git
pkgdesc = A general purpose Finite Element Library on top of Netgen.
- pkgver = PKGVER
+ pkgver = v6.2.1705.129.g984592a0
pkgrel = 1
url = https://sourceforge.net/projects/ngsolve/
arch = i686
@@ -12,12 +12,7 @@ pkgbase = ngsolve-git
makedepends = cmake
depends = lapack
depends = blas
- depends = python-mpi4py
- depends = tix
- depends = glu
depends = netgen-git
- depends = openmpi
- depends = suitesparse
options = !buildflags
source = ngsolve::git+http://git.code.sf.net/p/ngsolve/git#branch=master
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 8b5b18b448e..bd60f614de6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,39 @@
# Maintainer: Felix Schindler <aur at felixschindler dot net>
pkgname=ngsolve-git
-pkgver=PKGVER
-pkgrel=2
+pkgver=v6.2.1705.129.g984592a0
+pkgrel=1
pkgdesc="A general purpose Finite Element Library on top of Netgen."
url=https://sourceforge.net/projects/ngsolve/
license=('LGPL2.1')
arch=('i686' 'x86_64')
makedepends=('git' 'cmake')
-depends=('lapack' 'blas' 'python-mpi4py' 'tix' 'glu' 'netgen-git' 'openmpi' 'suitesparse')
+depends=('lapack' 'blas' 'netgen-git')
options=('!buildflags')
source=("${pkgname%-git}::git+http://git.code.sf.net/p/ngsolve/git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}"/${pkgname%-git}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --tags | sed 's/-/./g'
}
build() {
- # now we build ngsolve
cd "${srcdir}"/${pkgname%-git}
+ rm -rf build
mkdir build && cd build
- # We would like to install to ${pkgdir}/opt/netgen, but ngsolve uses this
- # variable to find netgen. So we provide /opt/netgen ...
- cmake -DINSTALL_DIR="/opt/netgen" -DCMAKE_BUILD_TYPE=RELEASE -DUSE_MPI=ON ..
- # ... and have to sed our way out of this.
- sed -i "s;CMAKE_INSTALL_PREFIX \"/opt/netgen\";CMAKE_INSTALL_PREFIX \"${pkgdir}/opt/netgen\";g" cmake_install.cmake
+ cmake \
+ -DNETGEN_DIR=/usr \
+ -DUSE_UMFPACK=ON \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ /home/matthias/src/ngsolve
make
}
package() {
cd "${srcdir}"/${pkgname%-git}/build
- make install
+ make DESTDIR="$pkgdir/" install
}