summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Klein2020-08-20 21:01:52 +0200
committerPatrick Klein2020-08-20 21:01:52 +0200
commitc726938d272e52942878ca17ebeff889ceb948dd (patch)
tree187f63e69558c5e2f7bd4f5d40ddd1f32ae8226d
parent13a4fa37cfb59cda95150ed33515326a2775cea0 (diff)
downloadaur-c726938d272e52942878ca17ebeff889ceb948dd.tar.gz
Update to gurobi 9.0.3
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3583b06ea63..2349f04ab80 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = gurobi
pkgdesc = State-of-the-art solver for mathematical programming
- pkgver = 9.0.2
+ pkgver = 9.0.3
pkgrel = 0
- url = http://www.gurobi.com/products/gurobi-optimizer
+ url = https://www.gurobi.com/products/gurobi-optimizer
arch = x86_64
license = custom
depends = python>=3.5.0
@@ -11,10 +11,10 @@ pkgbase = gurobi
optdepends = java-environment: Java programming interface support
optdepends = mono: .NET programming interface support
optdepends = matlab: MATLAB programming interface support, versions 2008b onwards
- source = https://packages.gurobi.com/9.0/gurobi9.0.2_linux64.tar.gz
+ source = https://packages.gurobi.com/9.0/gurobi9.0.3_linux64.tar.gz
source = gurobi.sh
source = gurobi_setup.m
- sha256sums = 6527581aef11c3e425c52993d108861ef53ec13971d9931861bf9c88d9d111f3
+ sha256sums = ba6db703ab0c4a815a0f46b314d86dd1bb28ba13b41d4b2f4ec5844171bcce47
sha256sums = 30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8
sha256sums = fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c
diff --git a/PKGBUILD b/PKGBUILD
index 3bc0595a30c..32dd6c31c2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,11 @@
# Maintainer: Patrick Klein <patrick@libklein.com>
pkgname=gurobi
-pkgver=9.0.2
+pkgver=9.0.3
pkgrel=0
pkgdesc="State-of-the-art solver for mathematical programming"
arch=('x86_64')
-url="http://www.gurobi.com/products/gurobi-optimizer"
+url="https://www.gurobi.com/products/gurobi-optimizer"
license=('custom')
depends=('python>=3.5.0' 'python2>=2.7.0')
optdepends=(
@@ -16,11 +16,11 @@ optdepends=(
'matlab: MATLAB programming interface support, versions 2008b onwards'
)
source=(
- "https://packages.gurobi.com/9.0/gurobi9.0.2_linux64.tar.gz"
+ "https://packages.gurobi.com/${pkgver:0:3}/gurobi${pkgver}_linux64.tar.gz"
"gurobi.sh"
"gurobi_setup.m"
)
-sha256sums=('6527581aef11c3e425c52993d108861ef53ec13971d9931861bf9c88d9d111f3'
+sha256sums=('ba6db703ab0c4a815a0f46b314d86dd1bb28ba13b41d4b2f4ec5844171bcce47'
'30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8'
'fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c')
@@ -70,8 +70,8 @@ package_gurobi() {
# Programming interfaces
install -Dt "${pkgdir}/usr/lib/" lib/*.so*
install -Dm644 -t "${pkgdir}/usr/lib/" lib/*.a
- ln -sf ./libgurobi.so.9.0.2 "${pkgdir}/usr/lib/libgurobi.so"
- ln -sf ./libgurobi.so.9.0.2 "${pkgdir}/usr/lib/libgurobi902.so"
+ ln -sf ./libgurobi.so.${pkgver} "${pkgdir}/usr/lib/libgurobi.so"
+ ln -sf ./libgurobi.so.${pkgver} "${pkgdir}/usr/lib/libgurobi$(echo $pkgver | sed 's/\.//g').so"
ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a"
python setup.py install --root="$pkgdir" --optimize=1