archrelease: copy trunk to extra-x86_64
[arch-packages.git] / guile / trunk / PKGBUILD
blob11580dc163335515788dc74fc7eb91cb860d4d02
1 # Contributor: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=guile
6 pkgver=3.0.9
7 pkgrel=1
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 ncurses libunistring gc libffi libxcrypt)
13 makedepends=(texinfo)
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               '4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo <wingo@pobox.com>"
18 sha256sums=('18525079ad29a0d46d15c76581b5d91c8702301bfd821666d2e1d13726162811'
19             'SKIP')
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr \
24     --disable-static  \
25     --disable-error-on-warning
26   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27   make
30 check() {
31   cd $pkgname-$pkgver
32   make check
35 package() {
36   make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
37   rm "$pkgdir"/usr/lib/libguile-3.?.so.*-gdb.scm