1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc='Portable, embeddable Scheme implementation written in C'
10 url='https://www.gnu.org/software/guile/'
13 depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
14 source=(https://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-$pkgver.tar.gz{,.sig})
15 validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org>
16 'FF478FB264DE32EC296725A3DDC0F5358812F8F2') # Andy Wingo
17 md5sums=('333b6eec83e779935a45c818f712484e'
22 ./configure --prefix=/usr \
24 --disable-error-on-warning \
30 make -C $_pkgname-$pkgver DESTDIR="$pkgdir" install
31 rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm
33 sed -i '1s/guile/guile2.0/' -i "$pkgdir/usr/bin/guile-config2.0"
34 mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile20.m4
35 rm -rf "$pkgdir"/usr/share/info