[arch-commits] Commit in coin-or-clp/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Feb 2 07:37:26 UTC 2022
Date: Wednesday, February 2, 2022 @ 07:37:26
Author: arojas
Revision: 1122383
archrelease: copy trunk to community-staging-x86_64
Added:
coin-or-clp/repos/community-staging-x86_64/
coin-or-clp/repos/community-staging-x86_64/PKGBUILD
(from rev 1122382, coin-or-clp/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: coin-or-clp/repos/community-staging-x86_64/PKGBUILD (from rev 1122382, coin-or-clp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-02-02 07:37:26 UTC (rev 1122383)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-clp
+pkgver=1.17.7
+pkgrel=2
+pkgdesc='COIN-OR linear programming solver'
+arch=(x86_64)
+url='https://github.com/coin-or/Clp'
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-osi coin-or-asl suitesparse)
+source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Clp/archive/refs/tags/releases/$pkgver.tar.gz)
+sha256sums=('c4c2c0e014220ce8b6294f3be0f3a595a37bef58a14bf9bac406016e9e73b0f5')
+
+build() {
+ cd Clp-releases-$pkgver
+ ./configure --prefix=/usr \
+ --with-cholmod-lib='-lcholmod' \
+ --with-cholmod-incdir=/usr/include \
+ --with-amd-lib='-lamd' \
+ --with-amd-incdir=/usr/include
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
+ make
+}
+
+check() {
+ cd Clp-releases-$pkgver
+ make test
+}
+
+package() {
+ cd Clp-releases-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list