[arch-commits] Commit in suitesparse/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 13 21:24:29 UTC 2017


    Date: Wednesday, December 13, 2017 @ 21:24:29
  Author: arojas
Revision: 312365

archrelease: copy trunk to staging-x86_64

Added:
  suitesparse/repos/staging-x86_64/
  suitesparse/repos/staging-x86_64/PKGBUILD
    (from rev 312364, suitesparse/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: suitesparse/repos/staging-x86_64/PKGBUILD (from rev 312364, suitesparse/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-12-13 21:24:29 UTC (rev 312365)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=5.1.0
+pkgrel=1
+pkgdesc="A collection of sparse matrix libraries"
+url="http://faculty.cse.tamu.edu/davis/suitesparse.html"
+arch=('x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('metis' 'lapack' 'intel-tbb')
+makedepends=('gcc-fortran' 'cmake' 'chrpath')
+license=('GPL')
+options=('staticlibs')
+source=("http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$pkgver.tar.gz")
+sha1sums=('bedf8aa7fdff4247cf1b9029a86cbb76c11627db')
+
+build() {
+   cd SuiteSparse
+
+   BLAS=-lblas TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so make
+}
+
+
+package() {
+   cd SuiteSparse
+   install -dm755 "${pkgdir}"/usr/{include,lib}
+
+   BLAS=-lblas TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so \
+     make INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+
+   # fix RPATH
+   chrpath -d "$pkgdir"/usr/lib/*
+}



More information about the arch-commits mailing list