summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Klein2020-01-04 14:14:35 +0100
committerPatrick Klein2020-01-04 14:14:35 +0100
commita13849b4aedc9553b9f460118a2ffa24f6fc6898 (patch)
treef5309a27a0b9237dc8f42b52889e97e8a48e4535
parent3851521763397f372c17bbbdedc7b10b9bde0666 (diff)
downloadaur-a13849b4aedc9553b9f460118a2ffa24f6fc6898.tar.gz
Add libgurobi.so symlink to latest gurobi version
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD3
3 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3060c5dcf6e..87a4f535494 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gurobi
pkgdesc = State-of-the-art solver for mathematical programming
pkgver = 9.0.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.gurobi.com/products/gurobi-optimizer
arch = x86_64
license = custom
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..719f5c3a7f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+# Package src/pkg archives, downloaded sources
+gurobi*.tar*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 1a96dddfb1e..dbafd274fea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gurobi
pkgver=9.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="State-of-the-art solver for mathematical programming"
arch=('x86_64')
url="http://www.gurobi.com/products/gurobi-optimizer"
@@ -71,6 +71,7 @@ package_gurobi() {
install -Dt "${pkgdir}/usr/lib/" lib/*.so*
install -Dm644 -t "${pkgdir}/usr/lib/" lib/*.a
ln -sf ./libgurobi.so.9.0.0 "${pkgdir}/usr/lib/libgurobi900.so"
+ ln -sf ./libgurobi.so.9.0.0 "${pkgdir}/usr/lib/libgurobi.so"
ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a"
python setup.py install --root="$pkgdir" --optimize=1