[arch-commits] Commit in swi-prolog/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed May 12 12:01:32 UTC 2021


    Date: Wednesday, May 12, 2021 @ 12:01:32
  Author: arodseth
Revision: 931543

upgpkg: swi-prolog 8.2.4-1

Modified:
  swi-prolog/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 12:00:25 UTC (rev 931542)
+++ PKGBUILD	2021-05-12 12:01:32 UTC (rev 931543)
@@ -5,7 +5,7 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=swi-prolog
-pkgver=8.2.3
+pkgver=8.2.4
 pkgrel=1
 pkgdesc='Prolog environment'
 arch=(x86_64)
@@ -13,25 +13,25 @@
 license=(GPL LGPL)
 depends=(libarchive libxcrypt libyaml qt5-base)
 makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja unixodbc)
-optdepends=('libjpeg:      for using the pl2xpce library'
-            'libxpm:       for using the pl2xpce library'
-            'libxinerama:  for using the pl2xpce library'
-            'libxft:       for using the pl2xpce library'
-            'jdk-openjdk:  for using Prolog from Java'
-            'java-runtime: for using Prolog from Java'
-            'unixodbc:     for using the odbc4pl library')
-source=("https://www.swi-prolog.org/download/stable/src/swipl-$pkgver.tar.gz")
-sha256sums=('9403972f9d87f1f4971fbd4a5644b4976b1b18fc174be84506c6b713bd1f9c93')
+optdepends=('java-runtime: for using Prolog from Java'
+            'jdk-openjdk: for using Prolog from Java'
+            'libjpeg: for using the pl2xpce library'
+            'libxft: for using the pl2xpce library'
+            'libxinerama: for using the pl2xpce library'
+            'libxpm: for using the pl2xpce library'
+            'unixodbc: for using the odbc4pl library')
+source=("$pkgname-$pkgver.tar.gz::https://www.swi-prolog.org/download/stable/src/swipl-$pkgver.tar.gz")
+b2sums=('b18f26102a685ff5c66aeaf0c14a08c532f9327f9f995cd46657a71b6779d021eb4f5651b2be77883197c7c5ee31c23259f46ed559aeeb0bb53ad10aea0081ed')
 
 build() {
   mkdir -p build
   cd build
   cmake "$srcdir/swipl-$pkgver" \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_C_FLAGS="$CFLAGS -fPIC -ffile-prefix-map=$PWD= -w" \
-    -DLIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
-    -DLIBEDIT_INCLUDE_DIR=/usr/include \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D CMAKE_C_FLAGS="$CFLAGS -fPIC -ffile-prefix-map=$PWD= -w" \
+    -D LIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
+    -D LIBEDIT_INCLUDE_DIR=/usr/include \
     -G Ninja
   "$srcdir/swipl-$pkgver/scripts/pgo-compile.sh"
   ninja
@@ -38,8 +38,8 @@
 }
 
 check() {
-  # the prolog_in_java test fails
-  cd build && ctest -j 8 || true
+  cd build
+  ctest -j 12
 }
 
 package() {



More information about the arch-commits mailing list