Date: Wednesday, March 29, 2017 @ 08:19:49 Author: bpiotrowski Revision: 291777
archrelease: copy trunk to staging-i686, staging-x86_64 Added: guile2.0/repos/staging-i686/ guile2.0/repos/staging-i686/PKGBUILD (from rev 291776, guile2.0/trunk/PKGBUILD) guile2.0/repos/staging-x86_64/ guile2.0/repos/staging-x86_64/PKGBUILD (from rev 291776, guile2.0/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: guile2.0/repos/staging-i686/PKGBUILD (from rev 291776, guile2.0/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-03-29 08:19:49 UTC (rev 291777) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@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=(i686 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 <l...@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 +} Copied: guile2.0/repos/staging-x86_64/PKGBUILD (from rev 291776, guile2.0/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-03-29 08:19:49 UTC (rev 291777) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@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=(i686 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 <l...@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 +}