[arch-commits] Commit in coin-or-cbc/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Apr 6 11:35:20 UTC 2020


    Date: Monday, April 6, 2020 @ 11:35:19
  Author: arojas
Revision: 612050

Remove nauty from linker flags in pc file, it is statically linked (FS#66142)

Modified:
  coin-or-cbc/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 10:42:05 UTC (rev 612049)
+++ PKGBUILD	2020-04-06 11:35:19 UTC (rev 612050)
@@ -4,7 +4,7 @@
 
 pkgname=coin-or-cbc
 pkgver=2.10.5
-pkgrel=2
+pkgrel=3
 pkgdesc="COIN-OR branch-and-cut mixed integer programming solver"
 arch=(x86_64)
 url="https://projects.coin-or.org/Cbc"
@@ -42,4 +42,7 @@
   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