Date: Wednesday, February 2, 2022 @ 09:19:39 Author: arojas Revision: 1122404
archrelease: copy trunk to community-x86_64 Added: coin-or-cbc/repos/community-x86_64/PKGBUILD (from rev 1122403, coin-or-cbc/trunk/PKGBUILD) Deleted: coin-or-cbc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-02 09:19:25 UTC (rev 1122403) +++ PKGBUILD 2022-02-02 09:19:39 UTC (rev 1122404) @@ -1,38 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: spider-mario <spiderma...@free.fr> -# Contributor: Daniel Ehlers <danielehl...@mindeye.net> - -pkgname=coin-or-cbc -pkgver=2.10.7 -pkgrel=2 -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=('5aa5490e2bc39c3c03f3636c9bca459cb3f8f365e0280fd0c4759ce3119e5b19') - -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 -} Copied: coin-or-cbc/repos/community-x86_64/PKGBUILD (from rev 1122403, coin-or-cbc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-02 09:19:39 UTC (rev 1122404) @@ -0,0 +1,38 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: spider-mario <spiderma...@free.fr> +# Contributor: Daniel Ehlers <danielehl...@mindeye.net> + +pkgname=coin-or-cbc +pkgver=2.10.7 +pkgrel=3 +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) +makedepends=(nauty) +source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cbc/archive/refs/tags/releases/$pkgver.tar.gz) +sha256sums=('5aa5490e2bc39c3c03f3636c9bca459cb3f8f365e0280fd0c4759ce3119e5b19') + +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 +}