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

Antonio Rojas arojas at archlinux.org
Wed Apr 8 09:44:45 UTC 2020


    Date: Wednesday, April 8, 2020 @ 09:44:45
  Author: arojas
Revision: 612594

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-08 09:44:27 UTC (rev 612593)
+++ PKGBUILD	2020-04-08 09:44:45 UTC (rev 612594)
@@ -1,48 +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=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
-}

Copied: coin-or-cbc/repos/community-x86_64/PKGBUILD (from rev 612593, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-08 09:44:45 UTC (rev 612594)
@@ -0,0 +1,49 @@
+# 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=4
+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 coin-or-asl)
+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
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  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