updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / ocamlsdl / PKGBUILD
blob7a48fae023d453feb5c209885bf54b6e126c6cbf
1 # Maintainer: Alexander Bau <abau[aT]imn.htwk-leipzig.de>
2 pkgname=ocamlsdl
3 pkgver=0.8.0
4 pkgrel=1
5 pkgdesc="OCaml interface to the Simple DirectMedia Layer library"
6 arch=(i686)
7 url="http://ocamlsdl.sf.net/"
8 license=('LGPL')
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')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr
18   make || return 1
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" \
23        install  || return 1