summaryrefslogtreecommitdiff
path: root/~brendan/guile/PKGBUILD
blob: af88275638587230771b4267983a161647ad7f49 (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
27
28
29
30
31
32
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>
# Contributor: Emmanuel 'guinness' Boudreault
# Parabola Maintainer: Brendan Tildesley (brendyn)
#
# This is `guile-devel' from AUR, with very little changes.
pkgname=guile
pkgver=2.0.5
pkgrel=1
pkgdesc="GNU Ubiquitous Intelligent Language for Extensions - 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'
         'libunistring' 'gc' 'libffi')
conflicts=('guile' 'guile-git')
provides=("guile=$pkgver")
install=guile.install
options=('!libtool')
source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-${pkgver}.tar.gz)
sha256sums=('2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956')

build() {
  cd "${srcdir}/guile-${pkgver}"

  ./configure --prefix=/usr
  make LDFLAGS+="-lpthread"
}

package() {
  cd "${srcdir}/guile-${pkgver}"
  make DESTDIR="${pkgdir}" install
}