# $Id: PKGBUILD 187814 2013-06-06 11:10:02Z juergen $ # Contributor: John Proctor # Contributor: Daniel White # Maintainer: Juergen Hoetzel # Contributor: Leslie Polzer (skypher) pkgname=sbcl pkgver=1.1.8 pkgrel=1 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org/" arch=('i686' 'x86_64') license=('custom') depends=('glibc' 'zlib') provides=('common-lisp' 'cl-asdf') makedepends=('sbcl') install=sbcl.install source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp" "ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.13a.tar.gz" "texinfo-4.13a-data_types.patch") md5sums=('118dea06e26151d8315a118169ec16ec' '7ac0c1936547f4278198b8bf7725204d' '71ba711519209b5fb583fed2b3d86fcb' 'd8574782ff7def1e2dc5c291dbeaec18') # Temporary Texinfo legacy build # See: http://sourceforge.net/mailarchive/message.php?msg_id=30747919 build-texinfo-legacy() { cd ${srcdir}/texinfo-4.13 patch -Np1 -i $srcdir/texinfo-4.13a-data_types.patch mkdir -p $srcdir/texinfo-instroot ./configure --prefix=$srcdir/texinfo-instroot make install } build() { build-texinfo-legacy export PATH=$srcdir/texinfo-instroot/bin:$PATH cd "$srcdir/$pkgname-$pkgver" export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl" export GNUMAKE="make" # 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 <