[arch-commits] Commit in coin-or-clp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Nov 10 00:01:09 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:00:59
  Author: felixonmars
Revision: 405442

archrelease: copy trunk to community-staging-x86_64

Added:
  coin-or-clp/repos/community-staging-x86_64/
  coin-or-clp/repos/community-staging-x86_64/PKGBUILD
    (from rev 405440, coin-or-clp/trunk/PKGBUILD)

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

Copied: coin-or-clp/repos/community-staging-x86_64/PKGBUILD (from rev 405440, coin-or-clp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-10 00:00:59 UTC (rev 405442)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-clp
+pkgver=1.16.11
+pkgrel=2
+pkgdesc="COIN-OR linear programming solver"
+arch=(x86_64)
+url="https://projects.coin-or.org/Clp"
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-osi suitesparse)
+source=("https://www.coin-or.org/download/source/Clp/Clp-${pkgver}.tgz")
+sha256sums=('b525451423a9a09a043e6a13d9436e13e3ee7a7049f558ad41a110742fa65f39')
+
+build() {
+  cd Clp-$pkgver/Clp
+  COIN_SKIP_PROJECTS="Sample" \
+  ./configure --prefix=/usr \
+              --with-osi-lib="$(pkg-config --libs osi)" \
+              --with-osi-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" \
+              --with-cholmod-lib='-lcholmod' --with-cholmod-incdir=/usr/include
+  make
+}
+
+check() {
+  cd Clp-$pkgver/Clp
+# make test
+}
+
+package() {
+  cd Clp-$pkgver/Clp
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list