diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-26 19:06:04 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-26 19:06:04 (GMT) |
commit | 4fe4fcf89a4aef366180a11ff174640ba71783fa (patch) | |
tree | 4877873afc5e0b1a8e17357d39162a69f88c9298 /abs | |
parent | 3de39d54cc2c3445ce6d1b09c8f9e82b309241f7 (diff) | |
download | linhes_pkgbuild-4fe4fcf89a4aef366180a11ff174640ba71783fa.zip linhes_pkgbuild-4fe4fcf89a4aef366180a11ff174640ba71783fa.tar.gz linhes_pkgbuild-4fe4fcf89a4aef366180a11ff174640ba71783fa.tar.bz2 |
guile2.0: dep of gdb
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/guile2.0/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/extra/guile2.0/PKGBUILD b/abs/extra/guile2.0/PKGBUILD new file mode 100644 index 0000000..db2f468 --- /dev/null +++ b/abs/extra/guile2.0/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=guile2.0 +_pkgname=guile +pkgver=2.0.14 +pkgrel=1 +pkgdesc='Portable, embeddable Scheme implementation written in C' +url='http://www.gnu.org/software/guile/' +arch=(x86_64) +license=(GPL) +depends=(gmp libltdl ncurses texinfo libunistring gc libffi) +source=(https://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-$pkgver.tar.gz{,.sig}) +validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org> + 'FF478FB264DE32EC296725A3DDC0F5358812F8F2') # Andy Wingo +md5sums=('333b6eec83e779935a45c818f712484e' + 'SKIP') + +build() { + cd $_pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-static \ + --disable-error-on-warning \ + --program-suffix=2.0 + make +} + +package() { + make -C $_pkgname-$pkgver DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm + + sed -i '1s/guile/guile2.0/' -i "$pkgdir/usr/bin/guile-config2.0" + mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile20.m4 + rm -rf "$pkgdir"/usr/share/info +} |