diff options
author | Samuel Balula | 2021-05-10 12:46:42 +0200 |
---|---|---|
committer | Samuel Balula | 2021-05-10 12:46:42 +0200 |
commit | 0a221e18f4550c7420a8be5cd724b1f794c4a86e (patch) | |
tree | 4ff8ff9af9e8813193d182bbe208d8881490480b | |
download | aur-0a221e18f4550c7420a8be5cd724b1f794c4a86e.tar.gz |
initial package upload
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | coinhsl-2019.05.21.tar.gz | 0 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..acd0d095c6d1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = coin-or-hsl + pkgdesc = HSL Mathematical Software Library. Including solvers for sparse linear systems of equations and sparse eigenvalue problems. Compiled with coin-or-tools, supports Ipopt. + pkgver = 2019.05.21 + pkgrel = 1 + url = http://www.hsl.rl.ac.uk/ + arch = i686 + arch = x86_64 + makedepends = gcc + makedepends = metis + optdepends = openmp + optdepends = coin-or-ipopt + source = ThirdParty-HSL::git+https://github.com/coin-or-tools/ThirdParty-HSL.git + source = manual://coinhsl-2019.05.21.tar.gz + sha256sums = SKIP + sha256sums = 95ce1160f0b013151a3e25d40337775c760a8f3a79d801a1d190598bf4e4c0c3 + +pkgname = coin-or-hsl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d05483f8b1c5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Samuel Balula sbalula@ethz.ch +# Download the source from http://www.hsl.rl.ac.uk/ and place it in the folder, replacing the empty placeholder file + +pkgname=coin-or-hsl +_pkgname=coinhsl +pkgrel=1 +pkgver=2019.05.21 +pkgdesc="HSL Mathematical Software Library. Including solvers for sparse linear systems of equations and sparse eigenvalue problems. Compiled with coin-or-tools, supports Ipopt." +arch=('i686' 'x86_64') +url="http://www.hsl.rl.ac.uk/" +makedepends=('gcc' 'metis') +depends=() +optdepends=('openmp' 'coin-or-ipopt') +source=("ThirdParty-HSL::git+https://github.com/coin-or-tools/ThirdParty-HSL.git" "manual://${_pkgname}-${pkgver}.tar.gz") +sha256sums=("SKIP" "95ce1160f0b013151a3e25d40337775c760a8f3a79d801a1d190598bf4e4c0c3") + +build() { + cd $srcdir/ThirdParty-HSL + ln -sf ../${_pkgname}-${pkgver} coinhsl + ./configure + make DESTDIR=$pkgdir +} + +package () +{ + cd $srcdir/ThirdParty-HSL + make DESTDIR=$pkgdir install + + #For Ipopt: + ln -rs $pkgdir/usr/local/lib/libcoinhsl.so $pkgdir/usr/local/lib/libhsl.so +} diff --git a/coinhsl-2019.05.21.tar.gz b/coinhsl-2019.05.21.tar.gz new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/coinhsl-2019.05.21.tar.gz |