Date: Friday, December 18, 2020 @ 17:05:23 Author: arodseth Revision: 779132
archrelease: copy trunk to community-x86_64 Added: swi-prolog/repos/community-x86_64/PKGBUILD (from rev 779129, swi-prolog/trunk/PKGBUILD) Deleted: swi-prolog/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-18 17:05:22 UTC (rev 779131) +++ PKGBUILD 2020-12-18 17:05:23 UTC (rev 779132) @@ -1,49 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Jachym Barvinek <jach...@gmail.com> -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: John Proctor <jproc...@prium.net> -# Contributor: Juergen Hoetzel <juer...@archlinux.org> - -pkgname=swi-prolog -pkgver=8.2.2 -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=('35ca864cfd257e3e59ebe8f01e186f8959a8b4d42f17a9a6c04ecdfa5d1e164b') - -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 779129, swi-prolog/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-18 17:05:23 UTC (rev 779132) @@ -0,0 +1,49 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Jachym Barvinek <jach...@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: John Proctor <jproc...@prium.net> +# Contributor: Juergen Hoetzel <juer...@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