# Maintainer: Brendan Tildesley pkgname=guile pkgver=2.0.3 pkgrel=1 pkgdesc="GNU Ubiquitous Intelligent Language for Extensions - portable Scheme implementation written in C." url="http://www.gnu.org/software/guile/" license=('GPL3' 'LGPL3') arch=(i686 x86_64 mips64el) depends=('gmp>=4.1' 'libtool' 'gettext' 'libunistring' 'gc' 'libffi') builddepends=('pkgconfig') install=guile.install source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha1sums=('4fde55bbd612adda267420d86d8b395d49031809') # I think .xz is only provided for latest release, so change to .gz if it vanishes 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 }