[arch-commits] Commit in (csdp csdp/trunk csdp/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Apr 13 18:25:31 UTC 2016


    Date: Wednesday, April 13, 2016 @ 20:25:30
  Author: arojas
Revision: 170836

Add coin-or-csdp, sagemath optional dependency

Added:
  csdp/
  csdp/trunk/
  csdp/trunk/PKGBUILD

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

Added: csdp/trunk/PKGBUILD
===================================================================
--- csdp/trunk/PKGBUILD	                        (rev 0)
+++ csdp/trunk/PKGBUILD	2016-04-13 18:25:30 UTC (rev 170836)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ido Rosen <ido at kernel.org>
+
+pkgname='coin-or-csdp'
+pkgdesc="A C library for Semidefinite Programming"
+pkgver=6.1.1
+pkgrel=1
+arch=(i686 x86_64)
+url='https://projects.coin-or.org/Csdp/'
+license=('CPL')
+depends=(lapack)
+source=("http://www.coin-or.org/download/source/Csdp/Csdp-$pkgver.tgz")
+sha256sums=('0558a46ac534e846bf866b76a9a44e8a854d84558efa50988ffc092f99a138b9')
+
+build() {
+  cd Csdp-$pkgver
+
+  make
+}
+
+check() {
+  cd Csdp-$pkgver
+
+  make unitTest
+}
+
+package() {
+  cd Csdp-$pkgver
+  
+  install -dm755 "$pkgdir"/usr/bin
+  install -m755 solver/csdp "$pkgdir"/usr/bin
+  install -m755 theta/{theta,graphtoprob,complement,rand_graph} "$pkgdir"/usr/bin
+
+  install -dm755 "$pkgdir"/usr/share/licenses/csdp
+  install -m644 LICENSE "$pkgdir"/usr/share/licenses/csdp
+}



More information about the arch-commits mailing list