# $Id: PKGBUILD 188079 2013-06-08 11:18:24Z bpiotrowski $ # Contributor: Tom Newsom # Maintainer: Jan de Groot pkgname=guile pkgver=2.0.9 pkgrel=1 pkgdesc="a portable, embeddable Scheme implementation written in C" url="http://www.gnu.org/software/guile/" arch=(i686 x86_64 'mips64el') license=('GPL') depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo' 'libunistring' 'gc' 'libffi') install=guile.install source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) options=('!libtool') md5sums=('531839c3fe887382ca9d4774db544d34') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --disable-static \ --disable-error-on-warning make LDFLAGS+="-lpthread" } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }