[arch-commits] Commit in coin-or-cbc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jan 13 07:54:09 UTC 2022
Date: Thursday, January 13, 2022 @ 07:54:08
Author: arojas
Revision: 1101801
archrelease: copy trunk to community-x86_64
Added:
coin-or-cbc/repos/community-x86_64/PKGBUILD
(from rev 1101800, coin-or-cbc/trunk/PKGBUILD)
Deleted:
coin-or-cbc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 38 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-13 07:53:58 UTC (rev 1101800)
+++ PKGBUILD 2022-01-13 07:54:08 UTC (rev 1101801)
@@ -1,49 +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=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
-}
Copied: coin-or-cbc/repos/community-x86_64/PKGBUILD (from rev 1101800, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-13 07:54:08 UTC (rev 1101801)
@@ -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-cbc
+pkgver=2.10.6
+pkgrel=1
+pkgdesc='COIN-OR branch-and-cut mixed integer programming solver'
+arch=(x86_64)
+url='https://github.com/coin-or/Cbc'
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-cgl coin-or-asl)
+makedepends=(nauty)
+source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cbc/archive/refs/tags/releases/$pkgver.tar.gz)
+sha256sums=('59d0f45c4c6ce399b723e528d637fb8e409dba7449b91ae27edbb5c0617cc65d')
+
+build() {
+ cd Cbc-releases-$pkgver
+ ./configure --prefix=/usr \
+ --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-releases-$pkgver/Cbc
+ make test
+}
+
+package() {
+ cd Cbc-releases-$pkgver
+ 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