# $Id: PKGBUILD 37056 2009-04-30 06:41:36Z eric $ #Maintainer: Tobias Powalowski pkgname=lablgtk pkgver=1.2.7 pkgrel=7 pkgdesc=" An Objective Caml interface to gtk+" arch=(i686 x86_64) url="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html" license=('LGPL') depends=('gtk') makedepends=('ocaml') options=('!makeflags') source=(http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/$pkgname-$pkgver.tar.gz) md5sums=('73a797e3a459190fdcaa8288935f6fb9') build() { cd $srcdir/$pkgname-$pkgver make configure || return 1 make || return 1 make opt || return 1 make PREFIX=$pkgdir/usr LIBDIR=$pkgdir/usr/lib/ocaml BINDIR=$pkgdir/usr/bin \ INSTALLDIR=$pkgdir/usr/lib/ocaml/lablgtk DLLDIR=$pkgdir/usr/lib/ocaml/stublibs install || return 1 rm -r $pkgdir/usr/bin }