summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-11-27 09:56:35 +0100
committerStefan Husmann2016-11-27 09:56:35 +0100
commit611400539bf2b4f78ff071d70f42beadbbe8e316 (patch)
tree4832bf8975facc8398f854ada0aea755a43337e1
parent3f48d2bb1a0c12c21eb5fd5a64fc676a1ff73055 (diff)
downloadaur-611400539bf2b4f78ff071d70f42beadbbe8e316.tar.gz
update
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
2 files changed, 32 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae131b5ca1f..eb721a8be7c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
-# Generated by mksrcinfo v8
-# Sun Jan 17 18:01:53 UTC 2016
pkgbase = elemental
pkgdesc = distributed-memory dense linear algebra
- pkgver = 0.85
- pkgrel = 2
- url = http://libelemental.org
+ pkgver = 0.87.3
+ pkgrel = 1
+ url = https://github.com/elemental/Elemental
arch = i686
arch = x86_64
- license = BSD
+ license = custom:BSD
makedepends = cmake
- depends = lapack
+ depends = openblas-lapack
+ depends = parmetis
+ depends = libmpc
+ depends = python2
options = !makeflags
- source = http://libelemental.org/pub/releases/Elemental-0.85.tgz
- md5sums = b2d70758ad03e3f532010bd621bf9591
+ source = https://github.com/elemental/Elemental/archive/v0.87.3.tar.gz
+ md5sums = 690bb9be7388017c2e475b36182671e4
pkgname = elemental
diff --git a/PKGBUILD b/PKGBUILD
index 66df773bd75..291173718d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,40 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=elemental
-pkgver=0.85
-pkgrel=2
-url="http://libelemental.org"
+pkgver=0.87.3
+pkgrel=1
+url="https://github.com/elemental/Elemental"
pkgdesc="distributed-memory dense linear algebra"
makedepends=('cmake')
-depends=('lapack')
+depends=('openblas-lapack' 'parmetis' 'libmpc' 'python2')
arch=('i686' 'x86_64')
-license=("BSD")
-source=("http://libelemental.org/pub/releases/Elemental-${pkgver}.tgz")
-md5sums=('b2d70758ad03e3f532010bd621bf9591')
+license=("custom:BSD")
+source=("https://github.com/elemental/Elemental/archive/v0.87.3.tar.gz")
+md5sums=('690bb9be7388017c2e475b36182671e4')
options=('!makeflags')
+
build() {
cd "${srcdir}/Elemental-${pkgver}"
mkdir -p build && pushd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_PYTHON_PACKAGE=0 ..
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_EL_DISABLE_PARMETIS=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
- cd "${srcdir}/Elemental-${pkgver}/build"
+ cd "${srcdir}/Elemental-${pkgver}"/build
make install DESTDIR="$pkgdir"
install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- # fix conflict with metis package
- rm "$pkgdir"/usr/include/metis.h "$pkgdir"/usr/lib/libmetis.so
+ find $pkgdir/usr/python/El/ -type f -exec sed '1s+python+python2+' {} \;
+ install -d $pkgdir/usr/lib/python2.7/site-packages
+ cp -r $pkgdir/usr/python/El/ $pkgdir/usr/lib/python2.7/site-packages
+ rm -rf $pkgdir/usr/python
+ install -d $pkgdir/usr/lib/cmake/modules
+ cp -r $pkgdir/usr/CMake/elemental/ $pkgdir/usr/lib/cmake/modules
+ rm -rf $pkgdir/usr/CMake
+ cp -r $pkgdir/usr/conf $pkgdir/etc
+ rm -rf $pkgdir/usr/conf
}