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

Alexander Rødseth arodseth at archlinux.org
Mon Feb 27 12:20:39 UTC 2017


    Date: Monday, February 27, 2017 @ 12:20:39
  Author: arodseth
Revision: 214043

upgpkg: swi-prolog 7.4.0_rc2-1

Modified:
  swi-prolog/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-27 11:57:10 UTC (rev 214042)
+++ PKGBUILD	2017-02-27 12:20:39 UTC (rev 214043)
@@ -6,8 +6,8 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=swi-prolog
-pkgver=7.2.3
-pkgrel=4
+pkgver=7.4.0_rc2
+pkgrel=1
 pkgdesc='Prolog environment'
 arch=('x86_64' 'i686')
 url='http://www.swi-prolog.org/'
@@ -19,11 +19,11 @@
             'libxpm: for using the pl2xpce library'
             'libxinerama: for using the pl2xpce library'
             'libxft: for using the pl2xpce library')
-source=("http://www.swi-prolog.org/download/stable/src/swipl-$pkgver.tar.gz")
-sha256sums=('43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5')
+source=("http://www.swi-prolog.org/download/stable/src/swipl-${pkgver/_/-}.tar.gz")
+sha256sums=('75e77734a1a948ff36a07f235318dd50759dd4b73097a6bd950c2dad03c92071')
 
 build() {
-  cd "swipl-$pkgver"
+  cd "swipl-${pkgver/_/-}"
   ./configure --prefix=/usr --with-world
 
   cd src
@@ -33,14 +33,14 @@
 }
 
 check() {
-  make -C "swipl-$pkgver" check || true
+  make -C "swipl-${pkgver/_/-}" check || true
 }
 
 package() {
-  make -C "swipl-$pkgver" DESTDIR="$pkgdir" install
+  make -C "swipl-${pkgver/_/-}" DESTDIR="$pkgdir" install
 
   # Fix for FS#20873
-  chmod +x "$pkgdir/usr/lib/swipl-$pkgver/library/dialect/sicstus/swipl-lfr.pl"
+  chmod +x "$pkgdir/usr/lib/swipl-${pkgver/_/-}/library/dialect/sicstus/swipl-lfr.pl"
 }
 
 # getver: swi-prolog.org/download/stable



More information about the arch-commits mailing list