archrelease: copy trunk to testing-x86_64
[arch-packages.git] / guile / trunk / PKGBUILD
blob8577e2d01fc3b180de4acc419488236115b49425
1 # Maintainer:  Jan de Groot <jgc@archlinux.org>
2 # Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=guile
6 pkgver=2.2.7
7 pkgrel=2
8 pkgdesc='Portable, embeddable Scheme implementation written in C'
9 url='https://www.gnu.org/software/guile/'
10 arch=(x86_64)
11 license=(GPL)
12 depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
13 source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
14 validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org>
15               'FF478FB264DE32EC296725A3DDC0F5358812F8F2' # Andy Wingo
16               '4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo <wingo@pobox.com>"
17 sha256sums=('44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007'
18             'SKIP')
20 prepare() {
21   cd $pkgname-$pkgver
22   sed -e '/test-out-of-memory/d' -i test-suite/standalone/Makefile.am # Disable test known to fail https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966301
23   autoreconf -if
26 build() {
27   cd $pkgname-$pkgver
28   ./configure --prefix=/usr \
29     --disable-static  \
30     --disable-error-on-warning
31   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
32   make
35 check() {
36   cd $pkgname-$pkgver
37   make check
40 package() {
41   make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
42   rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm