Date: Friday, January 31, 2014 @ 22:20:04 Author: arodseth Revision: 105118
Moving from AUR, 19 votes. Used by "lambdanative". Added: gambit-c/ gambit-c/repos/ gambit-c/repos/community-i686/ gambit-c/repos/community-x86_64/ gambit-c/trunk/ gambit-c/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: gambit-c/trunk/PKGBUILD =================================================================== --- gambit-c/trunk/PKGBUILD (rev 0) +++ gambit-c/trunk/PKGBUILD 2014-01-31 21:20:04 UTC (rev 105118) @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 68685 2012-03-31 16:54:07Z arodseth $ +# Maintainer: Alexander Rødseth <[email protected]> +# Contributor: Christian Babeux <[email protected]> + +_distname=gambc-v4_7_1 +pkgname=gambit-c +pkgver=4.7.1 +pkgrel=2 +pkgdesc='Scheme R5RS interpreter and compiler (via C)' +arch=('x86_64' 'i686') +url='http://dynamo.iro.umontreal.ca/wiki/index.php/Main_Page' +license=('LGPL2.1' 'Apache') +source=(http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/${_distname}.tgz) + +build() { + cd "$_distname" + + ./configure --prefix=/usr --docdir=/usr/share/doc/gambit-c \ + --infodir=/usr/share/info --libdir=/usr/lib/gambit-c \ + --enable-gcc-opts --enable-single-host + make +} + +package() { + make -C "$_distname" install DESTDIR="$pkgdir" + # gsc conflicts with the one provided by ghostscript + mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc" + ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script" +} + +# vim:set ts=2 sw=2 et:
