# $Id: PKGBUILD 144860 2011-12-08 19:58:02Z juergen $ # Contributor: John Proctor # Contributor: Daniel White # Maintainer: Juergen Hoetzel # Contributor: Leslie Polzer (skypher) pkgname=sbcl pkgver=1.0.54 pkgrel=1 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org/" arch=('i686' 'x86_64' 'mips64el') license=('custom') depends=('glibc') provides=('common-lisp' 'cl-asdf') makedepends=('sbcl' 'texinfo') [ "$CARCH" = "mips64el" ] && \ makedepends=('clisp' 'texinfo') install=sbcl.install source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp") md5sums=('b7e956a71d603bb714f71c2f7ef350f6' '7ac0c1936547f4278198b8bf7725204d') build() { cd "$srcdir/$pkgname-$pkgver" export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" export GNUMAKE="make -e" # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS export LINKFLAGS="$LDFLAGS" unset LDFLAGS # Make a multi-threaded SBCL, disable LARGEFILE cat >customize-target-features.lisp <