summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxantares2015-06-08 21:47:48 +0200
committerxantares2015-06-08 21:47:48 +0200
commit837eb69c7d23203519bd33908506fb335dfaff3a (patch)
tree94dd9816e04eb99b979cfe440027f47d6fee2cd4
downloadaur-837eb69c7d23203519bd33908506fb335dfaff3a.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cfb929a416c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = elemental
+ pkgdesc = distributed-memory dense linear algebra
+ pkgver = 0.84
+ pkgrel = 1
+ url = http://libelemental.org
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cmake
+ depends = lapack
+ source = http://libelemental.org/pub/releases/Elemental-0.84.tgz
+ md5sums = eb0b1bc7d8ddd15ac2a290a2f9d6573b
+
+pkgname = elemental
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6bcf93a4f7a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: xantares <xantares09 at hotmail dot com>
+
+pkgname=elemental
+pkgver=0.84
+pkgrel=1
+url="http://libelemental.org"
+pkgdesc="distributed-memory dense linear algebra"
+makedepends=('cmake')
+depends=('lapack')
+arch=('i686' 'x86_64')
+license=("BSD")
+source=("http://libelemental.org/pub/releases/Elemental-${pkgver}.tgz")
+md5sums=('eb0b1bc7d8ddd15ac2a290a2f9d6573b')
+
+build() {
+ cd "${srcdir}/Elemental-${pkgver}"
+ mkdir -p build && pushd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DELEM_SHARED_LIBRARIES=ON ..
+ make
+}
+
+package() {
+ cd "${srcdir}/Elemental-${pkgver}/build"
+ make install DESTDIR="$pkgdir"
+}
+