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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:32:40 UTC 2018


    Date: Friday, November 9, 2018 @ 22:32:39
  Author: felixonmars
Revision: 405001

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: coin-or-cbc/repos/community-staging-x86_64/PKGBUILD (from rev 405000, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:32:39 UTC (rev 405001)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-cbc
+pkgver=2.9.9
+pkgrel=2
+pkgdesc="COIN-OR branch-and-cut mixed integer programming solver"
+arch=(x86_64)
+url="https://projects.coin-or.org/Cbc"
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-cgl)
+source=("https://www.coin-or.org/download/source/Cbc/Cbc-${pkgver}.tgz")
+sha256sums=('aa8404e49b25853b30ebd6291e3beedc9b5f583e3c0c36822fae17507feb0af1')
+
+build() {
+  cd Cbc-$pkgver/Cbc
+  COIN_SKIP_PROJECTS="Sample" \
+  ./configure --prefix=/usr \
+              --with-osi-lib="$(pkg-config --libs osi)" \
+              --with-osi-incdir="/usr/include/coin/" \
+              --with-clp-lib="$(pkg-config --libs clp)" \
+              --with-clp-incdir="/usr/include/coin/" \
+              --with-cgl-lib="$(pkg-config --libs cgl)" \
+              --with-cgl-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" \
+              --enable-dependency-linking \
+              --enable-cbc-parallel
+  make
+}
+
+check() {
+  cd Cbc-$pkgver/Cbc
+#  make test
+}
+
+package() {
+  cd Cbc-$pkgver/Cbc
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list