summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2019-02-02 16:18:05 +0100
committerMichel Zou2019-02-02 16:18:05 +0100
commit5b4b1cde90aabe67a8b5ce221c24b5790aa69e0b (patch)
tree3f2112870a7caa5107c9582fd629ee6eda5f3f9b
parent07572f514e57d07c802dd2f464d901165a2eeeb1 (diff)
downloadaur-5b4b1cde90aabe67a8b5ce221c24b5790aa69e0b.tar.gz
0.107.9
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD30
2 files changed, 19 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9a70837a20..bc1c4a13899 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,18 @@
-# Generated by mksrcinfo v8
-# Sun Mar 12 11:03:30 UTC 2017
pkgbase = mingw-w64-coin-or-osi
pkgdesc = COIN-OR Open Solver Interface (mingw-w64)
- pkgver = 0.107.8
+ pkgver = 0.107.9
pkgrel = 1
url = https://projects.coin-or.org/Osi
arch = any
groups = coin-or
license = EPL
- makedepends = mingw-w64-configure
+ makedepends = mingw-w64-gcc
depends = mingw-w64-coin-or-coinutils
- options = staticlibs
options = !buildflags
options = !strip
- source = http://www.coin-or.org/download/source/Osi/Osi-0.107.8.tgz
- sha1sums = 7e163d3b45ef4244df103d3ab06e2edb4f301c7e
+ options = staticlibs
+ source = https://www.coin-or.org/download/source/Osi/Osi-0.107.9.tgz
+ sha256sums = 6d61fb27e2dccf6574fcc4a03b7a0083f10e578e5e5b2abae22da11489571c05
pkgname = mingw-w64-coin-or-osi
diff --git a/PKGBUILD b/PKGBUILD
index 35aee6ef73f..b7b8034df8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
+
pkgname=mingw-w64-coin-or-osi
-pkgver=0.107.8
+pkgver=0.107.9
pkgrel=1
pkgdesc="COIN-OR Open Solver Interface (mingw-w64)"
-arch=('any')
+arch=(any)
url="https://projects.coin-or.org/Osi"
-license=('EPL')
-groups=('coin-or')
-depends=('mingw-w64-coin-or-coinutils')
-makedepends=('mingw-w64-configure')
-options=('staticlibs' '!buildflags' '!strip')
-source=("http://www.coin-or.org/download/source/Osi/Osi-${pkgver}.tgz")
-sha1sums=('7e163d3b45ef4244df103d3ab06e2edb4f301c7e')
+license=(EPL)
+groups=(coin-or)
+depends=(mingw-w64-coin-or-coinutils)
+makedepends=(mingw-w64-gcc)
+options=('!buildflags' '!strip' 'staticlibs')
+source=("https://www.coin-or.org/download/source/Osi/Osi-${pkgver}.tgz")
+sha256sums=('6d61fb27e2dccf6574fcc4a03b7a0083f10e578e5e5b2abae22da11489571c05')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -19,10 +20,9 @@ build() {
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
COIN_SKIP_PROJECTS="Sample" \
- ${_arch}-configure \
- --with-coinutils-lib="$(${_arch}-pkg-config --libs coinutils)" \
- --with-coinutils-incdir="/usr/${_arch}/include/coin/" \
- -C
+ ${_arch}-configure --enable-dependency-linking \
+ --with-coinutils-lib="$(${_arch}-pkg-config --libs coinutils)" \
+ --with-coinutils-incdir="/usr/${_arch}/include/coin/" ..
make
popd
done
@@ -32,9 +32,7 @@ package() {
for _arch in ${_architectures}; do
cd "$srcdir"/Osi-$pkgver/build-${_arch}
PKG_CONFIG_PATH_CUSTOM="$pkgdir"/usr/${_arch}/lib/pkgconfig/ \
- make DESTDIR="$pkgdir"/ install
+ make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/${_arch}/share
- #${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
- ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}