[arch-commits] Commit in coin-or-cgl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 20:59:37 UTC 2018


    Date: Friday, November 9, 2018 @ 20:59:36
  Author: felixonmars
Revision: 404480

archrelease: copy trunk to community-staging-x86_64

Added:
  coin-or-cgl/repos/community-staging-x86_64/
  coin-or-cgl/repos/community-staging-x86_64/PKGBUILD
    (from rev 404479, coin-or-cgl/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: coin-or-cgl/repos/community-staging-x86_64/PKGBUILD (from rev 404479, coin-or-cgl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 20:59:36 UTC (rev 404480)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-cgl
+pkgver=0.59.10
+pkgrel=2
+pkgdesc="COIN-OR Cut Generation Library"
+arch=(x86_64)
+url="https://projects.coin-or.org/Cgl"
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-clp)
+source=("https://www.coin-or.org/download/source/Cgl/Cgl-${pkgver}.tgz")
+sha256sums=('30b4d514c415df89bd8800b3eab4b989aa536a7c04e661fdfdebda0b686351b0')
+
+build() {
+  cd Cgl-$pkgver/Cgl
+  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-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" \
+              --enable-dependency-linking
+  make
+}
+
+check() {
+  cd Cgl-$pkgver/Cgl
+  make test
+}
+
+package() {
+  cd Cgl-$pkgver/Cgl
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list