summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/guile/PKGBUILD
blob: 3721e3f21e4c3031543ac3fbe27613b17b6da980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 23033 2009-01-01 17:11:52Z jgc $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=guile
pkgver=1.8.6
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' 'libtool' 'ncurses>=5.6-7' 'texinfo')
install=guile.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('9e23d3dbea0e89bab8a9acc6880150de')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-networking \
    --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
}