Date: Friday, January 20, 2023 @ 19:00:15
  Author: arojas
Revision: 1387143

archrelease: copy trunk to community-x86_64

Added:
  scip/repos/
  scip/repos/community-x86_64/
  scip/repos/community-x86_64/PKGBUILD
    (from rev 1387142, scip/trunk/PKGBUILD)

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

Copied: scip/repos/community-x86_64/PKGBUILD (from rev 1387142, 
scip/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2023-01-20 19:00:15 UTC (rev 1387143)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=scip
+pkgver=8.0.3
+pkgrel=1
+pkgdesc='Solving Constraint Integer Programs'
+arch=(x86_64)
+url='https://www.scipopt.org/'
+license=(Apache)
+depends=(tbb mpfr)
+makedepends=(cmake boost soplex papilo)
+source=(https://github.com/scipopt/scip/archive/v${pkgver//./}/$pkgname-$pkgver.tar.gz)
+sha256sums=('fe7636f8165a8c9298ff55ed3220d084d4ea31ba9b69d2733beec53e0e4335d6')
+
+build() {
+  cmake -B build -S $pkgname-${pkgver//./} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DAUTOBUILD=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+# Remove bundled bliss
+  rm -r "$pkgdir"/usr/{bin/bliss,lib/{libbliss.a,cmake/Bliss}}
+}

Reply via email to