Date: Friday, January 20, 2023 @ 17:52:51
  Author: arojas
Revision: 1387135

scip dependency

Added:
  soplex/
  soplex/trunk/
  soplex/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: soplex/trunk/PKGBUILD
===================================================================
--- soplex/trunk/PKGBUILD                               (rev 0)
+++ soplex/trunk/PKGBUILD       2023-01-20 17:52:51 UTC (rev 1387135)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=soplex
+pkgver=6.0.3
+pkgrel=1
+pkgdesc='Sequential object-oriented simPlex'
+arch=(x86_64)
+url='https://www.scipopt.org/'
+license=(Apache)
+depends=(zlib mpfr)
+makedepends=(cmake boost)
+options=(!lto)
+source=(https://github.com/scipopt/$pkgname/archive/release-${pkgver//./}/$pkgname-$pkgver.tar.gz)
+sha256sums=('2bdf9adc9ac6ad48f98056679b7b852e626ac4aaaf277e7d4ce17794ed1097be')
+
+build() {
+  cmake -B build -S $pkgname-release-${pkgver//./} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DMPFR=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to