summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2021-05-08 09:17:41 +0000
committerAntonio Rojas2021-05-08 09:17:41 +0000
commit5e1bbc8fcc3b86cc0d91fd51707cb017e8f868ec (patch)
tree4bb828ca5431f3b6ac35262e4c35debd8609469b
parente3d4fae70da72bfc4eac05e66cecd779e3b9515e (diff)
downloadaur-5e1bbc8fcc3b86cc0d91fd51707cb017e8f868ec.tar.gz
Dropped from repos
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD47
2 files changed, 40 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 862aef61679..bfac26fca6a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,21 @@
pkgbase = mit-scheme
pkgdesc = MIT/GNU Scheme
- pkgver = 9.2
+ pkgver = 11.2
pkgrel = 1
- url = http://www.gnu.org/software/mit-scheme/
- arch = i686
+ url = https://www.gnu.org/software/mit-scheme/
arch = x86_64
license = GPL
- depends = glibc
+ makedepends = ghostscript
depends = ncurses
depends = zlib
+ depends = libx11
optdepends = openssl: support for openssl
- source_i686 = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-i386.tar.gz
- md5sums_i686 = b80458f85b9521bdfb0620edc89e3e61
- source_x86_64 = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.tar.gz
- md5sums_x86_64 = 9fcc6c156e53efeb0560996551fa0a57
+ provides = x11-shim.so
+ source = https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/11.2/mit-scheme-11.2-x86-64.tar.gz
+ source = https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/11.2/mit-scheme-11.2-x86-64.tar.gz.sig
+ validpgpkeys = 8F664EF430167B808170D35AC9E40BAAFD0CB132
+ sha256sums = 7ca848cccf29f2058ab489b41c5b3a101fb5c73dc129b1e366fb009f3414029d
+ sha256sums = SKIP
pkgname = mit-scheme
diff --git a/PKGBUILD b/PKGBUILD
index 03df18a02d0..bbfc9cb4dea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,43 @@
-# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Maintainer: Alad Wenter <alad@mailbox.org>
+# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: peter feigl <peter.feigl@gmail.com>
pkgname=mit-scheme
-pkgver=9.2
+pkgver=11.2
pkgrel=1
pkgdesc='MIT/GNU Scheme'
-arch=('i686' 'x86_64')
+url='https://www.gnu.org/software/mit-scheme/'
+arch=('x86_64')
license=('GPL')
-url='http://www.gnu.org/software/mit-scheme/'
-depends=('glibc' 'ncurses' 'zlib')
+depends=('ncurses' 'zlib' 'libx11')
+makedepends=('ghostscript')
optdepends=('openssl: support for openssl')
-
-source_i686=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-i386.tar.gz)
-source_x86_64=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-x86-64.tar.gz)
-md5sums_i686=('b80458f85b9521bdfb0620edc89e3e61')
-md5sums_x86_64=('9fcc6c156e53efeb0560996551fa0a57')
+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=('8F664EF430167B808170D35AC9E40BAAFD0CB132') # Chris Hanson <cph@chris-hanson.org>
+sha256sums=('7ca848cccf29f2058ab489b41c5b3a101fb5c73dc129b1e366fb009f3414029d'
+ 'SKIP')
build() {
- cd $pkgname-$pkgver/src
- ./configure --prefix=/usr \
- --with-x \
- --enable-native-code
- make
+ cd "$pkgname-$pkgver"/src
+ ./configure --prefix=/usr \
+ --with-x \
+ --enable-x11 \
+ --enable-native-code
+ make -j1
+ cd ../doc
+ ./configure --prefix=/usr \
+ --disable-pdf \
+ --disable-html
+ make
}
package() {
- cd $pkgname-$pkgver/src
- make DESTDIR="$pkgdir" install
+ 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
}