# Maintainer: CuVoodoo pkgname=fungw-svn pkgver=r754 pkgrel=1 pkgdesc="tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages" url="http://www.repo.hu/projects/fungw/" arch=('i686' 'x86_64') license=('LGPL2') depends=('genht') # fungw is not strictly dependant on genht (it also embeds it), but other packages relying on fungw also can optionally use external genht, and we don't want them to use different versions optdepends=('lua' 'perl' 'tcl' 'python2' 'python' 'duktape' 'mujs' 'libmawk>=1.0.3') # picolisp could not compile # there is no estutter package # there is no funlist package # compilation against mruby fails because mruby is missing the -fPIC compile flag makedepends=('subversion') provides=('fungw') source=("svn://svn.repo.hu/fungw/trunk") md5sums=('SKIP') pkgver() { cd "$srcdir/trunk/" local ver="$(svnversion)" printf "r%s" "${ver//[[:alpha:]]}" } build() { cd "$srcdir/trunk/" ./configure --prefix=/usr make } package() { cd "$srcdir/trunk/" make DESTDIR="$pkgdir/" install }