[arch-commits] Commit in swi-prolog/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Wednesday, May 12, 2021 @ 12:01:38
  Author: arodseth
Revision: 931544

archrelease: copy trunk to community-x86_64

Added:
  swi-prolog/repos/community-x86_64/PKGBUILD
    (from rev 931543, swi-prolog/trunk/PKGBUILD)
Deleted:
  swi-prolog/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 12:01:32 UTC (rev 931543)
+++ PKGBUILD	2021-05-12 12:01:38 UTC (rev 931544)
@@ -1,49 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Jachym Barvinek <jachymb at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: John Proctor <jproctor at prium.net>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-
-pkgname=swi-prolog
-pkgver=8.2.3
-pkgrel=1
-pkgdesc='Prolog environment'
-arch=(x86_64)
-url='https://www.swi-prolog.org/'
-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')
-
-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 \
-    -G Ninja
-  "$srcdir/swipl-$pkgver/scripts/pgo-compile.sh"
-  ninja
-}
-
-check() {
-  # the prolog_in_java test fails
-  cd build && ctest -j 8 || true
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: www.swi-prolog.org/download/stable

Copied: swi-prolog/repos/community-x86_64/PKGBUILD (from rev 931543, swi-prolog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-12 12:01:38 UTC (rev 931544)
@@ -0,0 +1,49 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Jachym Barvinek <jachymb at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: John Proctor <jproctor at prium.net>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=swi-prolog
+pkgver=8.2.4
+pkgrel=1
+pkgdesc='Prolog environment'
+arch=(x86_64)
+url='https://www.swi-prolog.org/'
+license=(GPL LGPL)
+depends=(libarchive libxcrypt libyaml qt5-base)
+makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja unixodbc)
+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" \
+    -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
+}
+
+check() {
+  cd build
+  ctest -j 12
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: www.swi-prolog.org/download/stable



More information about the arch-commits mailing list