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

Alexander Rødseth arodseth at gemini.archlinux.org
Sun Nov 21 10:43:49 UTC 2021


    Date: Sunday, November 21, 2021 @ 10:43:49
  Author: arodseth
Revision: 1052939

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-21 10:43:44 UTC (rev 1052938)
+++ PKGBUILD	2021-11-21 10:43:49 UTC (rev 1052939)
@@ -1,48 +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.4.0
-pkgrel=2
-pkgdesc='Prolog environment'
-arch=(x86_64)
-url='https://www.swi-prolog.org/'
-license=(GPL LGPL)
-depends=(gperftools libarchive libxcrypt libyaml qt5-base util-linux-libs)
-makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja python-protobuf 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=('ba0a62616432a3a958dd3ad90b56bfb644c5a99fdea5936cabf32224beac0a405622cd4f754415203b61545a1a238a227eea44e16ee455ee1270c47e3455a728')
-
-build() {
-  cmake -B build -S "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 -C build
-}
-
-check() {
-  # skip the MQI test
-  sed -i '/mqi/d' build/CTestTestfile.cmake
-  ctest --test-dir build
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: www.swi-prolog.org/download/stable

Copied: swi-prolog/repos/community-x86_64/PKGBUILD (from rev 1052938, swi-prolog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-21 10:43:49 UTC (rev 1052939)
@@ -0,0 +1,50 @@
+# 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.4.1
+pkgrel=1
+pkgdesc='Prolog environment'
+arch=(x86_64)
+url='https://www.swi-prolog.org/'
+license=(GPL LGPL)
+depends=(gperftools libarchive libxcrypt libyaml qt5-base util-linux-libs)
+makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja python-protobuf 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=('bd53355abe63ffde348ed38b0e7fee4bcba4e74128c73904a72ca3ba2021a8b650d08480a643ea3336f3fc6d1d7bcf7651deb1d32608581ce43bc118288df6da')
+
+build() {
+  cmake \
+    -B build \
+    -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 \
+    -S "swipl-$pkgver"
+  swipl-$pkgver/scripts/pgo-compile.sh
+  ninja -C build
+}
+
+check() {
+  # skip the MQI test
+  sed -i '/mqi/d' build/CTestTestfile.cmake
+  ctest --test-dir build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: www.swi-prolog.org/download/stable



More information about the arch-commits mailing list