summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Richter2015-06-20 11:24:35 -0500
committerEric Richter2015-06-20 11:24:35 -0500
commit2b488523ddb70de2e6b8c0b18695c3e27b3e5920 (patch)
tree98fc2ce3b2ef0716d4eac7d038194986b81dc2fe
downloadaur-2b488523ddb70de2e6b8c0b18695c3e27b3e5920.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD34
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5d807555625
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = mit-scheme
+ pkgdesc = MIT/GNU Scheme
+ pkgver = 9.2
+ pkgrel = 1
+ url = http://www.gnu.org/software/mit-scheme/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = glibc
+ depends = ncurses
+ depends = zlib
+ optdepends = openssl: support for openssl
+ source = http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.tar.gz
+ md5sums = 9fcc6c156e53efeb0560996551fa0a57
+
+pkgname = mit-scheme
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..139fe75781e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: peter feigl <peter.feigl@gmail.com>
+
+pkgname=mit-scheme
+pkgver=9.2
+pkgrel=1
+pkgdesc='MIT/GNU Scheme'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.gnu.org/software/mit-scheme/'
+depends=('glibc' 'ncurses' 'zlib')
+optdepends=('openssl: support for openssl')
+
+if [[ $CARCH == i686 ]]; then
+ _arch=i386
+ md5sums=('b80458f85b9521bdfb0620edc89e3e61')
+else
+ _arch=x86-64
+ md5sums=('9fcc6c156e53efeb0560996551fa0a57')
+fi
+source=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-$_arch.tar.gz)
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure --prefix=/usr \
+ --with-x \
+ --enable-native-code
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make DESTDIR="$pkgdir" install
+}