diff options
author | Michel Zou | 2019-09-06 11:19:08 +0200 |
---|---|---|
committer | Michel Zou | 2019-09-06 11:19:08 +0200 |
commit | fc27ff45b016f1415f3ebe45fa4f907c1b3f767b (patch) | |
tree | 7e1cb086793a9254322687952d64fa335e551313 | |
parent | ba2b18428b420785cae21b8121ae23e9f6272078 (diff) | |
download | aur-fc27ff45b016f1415f3ebe45fa4f907c1b3f767b.tar.gz |
pass_all
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 14 insertions, 15 deletions
@@ -4,7 +4,7 @@ pkgbase = mingw-w64-coin-or-mp pkgrel = 1 url = https://projects.coin-or.org/CoinMP arch = any - groups = coin-or + groups = mingw-w64-coin-or license = EPL makedepends = mingw-w64-configure depends = mingw-w64-coin-or-cbc @@ -1,4 +1,3 @@ - pkgname=mingw-w64-coin-or-mp pkgver=1.8.4 pkgrel=1 @@ -6,7 +5,7 @@ pkgdesc="C-API library that supports most of the functionality of CLP (Coin LP), arch=(any) url="https://projects.coin-or.org/CoinMP" license=(EPL) -groups=(coin-or) +groups=(mingw-w64-coin-or) depends=(mingw-w64-coin-or-cbc) makedepends=('mingw-w64-configure') options=('staticlibs' '!buildflags' '!strip') @@ -21,17 +20,17 @@ build() { mkdir -p build-${_arch} && pushd build-${_arch} COIN_SKIP_PROJECTS="Sample" \ ${_arch}-configure \ - --with-osi-lib="$(${_arch}-pkg-config --libs osi)" \ - --with-osi-incdir="/usr/${_arch}/include/coin/" \ - --with-clp-lib="$(${_arch}-pkg-config --libs clp)" \ - --with-clp-incdir="/usr/${_arch}/include/coin/" \ - --with-cgl-lib="$(${_arch}-pkg-config --libs cgl)" \ - --with-cgl-incdir="/usr/${_arch}/include/coin/" \ - --with-cbc-lib="$(${_arch}-pkg-config --libs cbc)" \ - --with-cbc-incdir="/usr/${_arch}/include/coin/" \ - --with-coinutils-lib="$(${_arch}-pkg-config --libs coinutils)" \ - --with-coinutils-incdir="/usr/${_arch}/include/coin/" \ - .. + --with-osi-lib="$(${_arch}-pkg-config --libs osi)" \ + --with-osi-incdir="/usr/${_arch}/include/coin/" \ + --with-clp-lib="$(${_arch}-pkg-config --libs clp)" \ + --with-clp-incdir="/usr/${_arch}/include/coin/" \ + --with-cgl-lib="$(${_arch}-pkg-config --libs cgl)" \ + --with-cgl-incdir="/usr/${_arch}/include/coin/" \ + --with-cbc-lib="$(${_arch}-pkg-config --libs cbc)" \ + --with-cbc-incdir="/usr/${_arch}/include/coin/" \ + --with-coinutils-lib="$(${_arch}-pkg-config --libs coinutils)" \ + --with-coinutils-incdir="/usr/${_arch}/include/coin/" \ + lt_cv_deplibs_check_method=pass_all .. make popd done @@ -46,7 +45,7 @@ package() { rm -r "$pkgdir"/home # rm "$pkgdir"/usr/${_arch}/lib/pkgconfig/coindatanetlib.pc # rm "$pkgdir"/usr/${_arch}/bin/*.exe - #${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a done } |