summaryrefslogtreecommitdiff
path: root/~brendan/guile/PKGBUILD
blob: c6297290a26d5ff678901e1ab9698c59cf71629f (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
# Maintainer: Brendan Tildesley <brendan.tildesley@gmail.com>
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
}