updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ocaml-inotify / PKGBUILD
blobd25b9c941a83a058c80832f6daeed3d156657256
1 # Maintainer: Gregory BELLIER <gregory.bellier -- gmail -- com>
2 # Contributor: Gregory BELLIER <gregory.bellier -- gmail -- com>
4 pkgname=ocaml-inotify
5 pkgver=1.0
6 pkgrel=3
7 pkgdesc="OCaml bindings for the inotify API"
8 arch=('i686' 'x86_64')
9 url="https://github.com/vincenthz/ocaml-inotify"
10 license=('LGPL')
11 makedepends=('ocaml ocaml-findlib')
12 options=('!strip')
13 install=
14 source=(https://github.com/gbe/ocaml-inotify/tarball/1.0)
15 md5sums=('11f9c938daabd32808fa9e2341d0a22f')
17 build() { 
19   cd "$srcdir/gbe-ocaml-inotify-a3dcac2"
21   make || return 1
22   OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
23   install -d $OCAMLFIND_DESTDIR/inotify/ || return 1
25   OCAMLDESTDIR="$OCAMLFIND_DESTDIR" make install || return 1
29 # vim:set ts=2 sw=2 et: