[arch-commits] Commit in coin-or-cbc/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Apr 6 11:36:01 UTC 2020


    Date: Monday, April 6, 2020 @ 11:36:00
  Author: arojas
Revision: 612051

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   93 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 48 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 11:35:19 UTC (rev 612050)
+++ PKGBUILD	2020-04-06 11:36:00 UTC (rev 612051)
@@ -1,45 +0,0 @@
-# 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.10.5
-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)
-makedepends=(nauty)
-source=("https://www.coin-or.org/download/source/Cbc/Cbc-${pkgver}.tgz")
-sha256sums=('da1a945648679b21ba56b454b81e939451dc7951d9beb3c3e14f18f64dde6972')
-
-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 \
-              --with-nauty-lib=/usr/lib/libnauty.a --with-nauty-incdir=/usr/include/nauty
-  make
-}
-
-check() {
-  cd Cbc-$pkgver/Cbc
-#  make test
-}
-
-package() {
-  cd Cbc-$pkgver/Cbc
-  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
-  make DESTDIR="$pkgdir" install
-}

Copied: coin-or-cbc/repos/community-x86_64/PKGBUILD (from rev 612050, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-06 11:36:00 UTC (rev 612051)
@@ -0,0 +1,48 @@
+# 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.10.5
+pkgrel=3
+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)
+makedepends=(nauty)
+source=("https://www.coin-or.org/download/source/Cbc/Cbc-${pkgver}.tgz")
+sha256sums=('da1a945648679b21ba56b454b81e939451dc7951d9beb3c3e14f18f64dde6972')
+
+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 \
+              --with-nauty-lib=/usr/lib/libnauty.a --with-nauty-incdir=/usr/include/nauty
+  make
+}
+
+check() {
+  cd Cbc-$pkgver/Cbc
+#  make test
+}
+
+package() {
+  cd Cbc-$pkgver/Cbc
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+
+# Remove nauty from linker flags in pc file, it is statically compiled
+  sed -e 's|/usr/lib/libnauty.a||' -i "$pkgdir"/usr/lib/pkgconfig/cbc.pc
+}



More information about the arch-commits mailing list