summaryrefslogtreecommitdiff
path: root/community/gauche/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gauche/PKGBUILD')
-rw-r--r--community/gauche/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/gauche/PKGBUILD b/community/gauche/PKGBUILD
new file mode 100644
index 000000000..efc16877c
--- /dev/null
+++ b/community/gauche/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 94289 2013-07-18 21:59:48Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Motohiro Ueki <ueki.com@gmail.com>
+# Contributor: nkoizu <nkoizu@gmail.com>
+
+pkgname=gauche
+pkgver=0.9.3.3
+pkgrel=1
+url='http://practical-scheme.net/gauche/'
+pkgdesc='R5RS Scheme implementation (provides gosh)'
+depends=('gdbm' 'zlib' 'slib')
+license=('BSD')
+arch=('x86_64' 'i686')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/$pkgname/Gauche-$pkgver.tgz")
+sha256sums=('3d8b70075faa0f7a24f8d112cc102ee3e1066680cdd19d324d59f33fab79caac')
+
+build() {
+ cd "$srcdir/Gauche-$pkgver"
+
+ ./configure --prefix=/usr --enable-multibyte=utf-8 \
+ --enable-threads=pthreads
+ make -j1
+}
+
+package() {
+ cd "$srcdir/Gauche-$pkgver"
+
+ make -j1 DESTDIR="$pkgdir" install-pkg install-doc
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et: