[arch-commits] Commit in mit-scheme/trunk (PKGBUILD)

Frederik Schwan freswa at archlinux.org
Sat Oct 17 23:42:07 UTC 2020


    Date: Saturday, October 17, 2020 @ 23:42:07
  Author: freswa
Revision: 725773

fix build of X11 plugin and docs

fixes FS#65356

Modified:
  mit-scheme/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-17 23:36:46 UTC (rev 725772)
+++ PKGBUILD	2020-10-17 23:42:07 UTC (rev 725773)
@@ -4,13 +4,14 @@
 
 pkgname=mit-scheme
 pkgver=10.1.10
-pkgrel=2
+pkgrel=3
 pkgdesc='MIT/GNU Scheme'
 url='https://www.gnu.org/software/mit-scheme/'
 arch=('x86_64')
 license=('GPL')
-depends=('ncurses' 'zlib')
+depends=('ncurses' 'zlib' 'libx11')
 optdepends=('openssl: support for openssl')
+provides=('x11-shim.so')
 source=("https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/$pkgver/$pkgname-$pkgver-x86-64.tar.gz"
         "https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/$pkgver/$pkgname-$pkgver-x86-64.tar.gz.sig")
 validpgpkeys=('424626C56C4AA9DB11194C07E3AA82D81B352C01') # Chris Hanson <cph at chris-hanson.org>
@@ -21,11 +22,21 @@
     cd "$pkgname-$pkgver"/src
     ./configure --prefix=/usr \
         --with-x \
+        --enable-x11 \
         --enable-native-code
     make
+    cd ../doc
+    ./configure --prefix=/usr \
+        --disable-pdf \
+        --disable-html
+    make
 }
 
 package() {
-    cd "$pkgname-$pkgver"/src
+    cd "$pkgname-$pkgver"
+    install -Dm644 "etc/xscheme.el" "$pkgdir/usr/share/emacs/site-lisp/xscheme.el"
+    cd src
     make DESTDIR="$pkgdir" install
+    cd ../doc
+    make DESTDIR="$pkgdir" install-info install-man
 }



More information about the arch-commits mailing list