1 #Contributor: Massimiliano Brocchini <brocchini@netseven.it>
6 pkgdesc="OpenGL (1.1-2.1)/SDL bindings for Objective Caml (OCaml)"
8 url="http://glcaml.sourceforge.net/"
10 depends=('ocaml' 'sdl' 'mesa')
11 source=(http://downloads.sourceforge.net/glcaml/$pkgname.$pkgver.tar.gz)
12 md5sums=('76dc4d2901830c1ae96d2f23b2bd7b18')
15 cd $startdir/src/$pkgname
17 mkdir -p $startdir/pkg/usr/lib/ocaml/glcaml
18 "rm" install.txt makefile makefile.inc OCamlMakefile
19 mkdir -p $startdir/pkg/usr/share/licenses/glcaml
20 "mv" licence.txt $startdir/pkg/usr/share/licenses/glcaml/
21 mkdir -p $startdir/pkg/usr/lib/ocaml/glcaml/{bin,doc,examples,glgen,lib}
22 for i in bin doc examples glgen lib; do
23 install -m 0644 $i/* $startdir/pkg/usr/lib/ocaml/glcaml/$i/;