1 # Maintainer: Alexander Bau <abau[aT]imn.htwk-leipzig.de>
5 pkgdesc="OCaml interface to the Simple DirectMedia Layer library"
7 url="http://ocamlsdl.sf.net/"
9 depends=('ocaml' 'sdl' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'ocaml-findlib')
10 optdepends=('sdl_gfx: SDL Graphic Primitives')
11 source=('http://sourceforge.net/projects/ocamlsdl/files/OCamlSDL/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz/download')
12 md5sums=('b7ee334cf107867cc8d08cbcc319c9af')
15 cd "$srcdir/$pkgname-$pkgver"
17 ./configure --prefix=/usr
19 install -dm755 "$pkgdir/usr/lib/ocaml/site-lib"
20 install -dm755 "$pkgdir/usr/lib/ocaml/site-lib/stublibs"
21 make OCAMLFIND_DESTDIR="$pkgdir/usr/lib/ocaml/site-lib" \
22 OCAMLFIND_LDCONF="ignore" \