summaryrefslogtreecommitdiff
path: root/extra/lablgtk/PKGBUILD
blob: 87e8c74fdfbf8b2da0ccf6dc86658c1c5cae0348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 149580 2012-02-08 15:00:33Z tpowa $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=lablgtk
pkgver=1.2.7
pkgrel=9
pkgdesc=" An Objective Caml interface to gtk+"
arch=(i686 x86_64 'mips64el')
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 
  make 
  make opt 
  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
  rm -r $pkgdir/usr/bin
}