PKGBUILDs/extra/guile/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
858 B
Bash

# $Id: PKGBUILD 46608 2009-07-18 23:17:08Z jgc $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=guile
pkgver=1.8.7
pkgrel=1
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
arch=(i686 x86_64)
license=('GPL')
depends=('gmp>=4.3.1' 'libtool' 'ncurses>=5.7' 'texinfo')
install=guile.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool' '!makeflags')
md5sums=('991b5b3efcbbc3f7507d05bc42f80a5e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-error-on-warning || return 1
make LDFLAGS+="-lpthread" || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
gzip "${pkgdir}/usr/share/info"/* || return 1
}