1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
3 # Contributor: Sebastian Wiesner <lunaryorn googlemail com>
4 # Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
5 # Sylvester Johansson <syljo361(at)gmail(dot)org>
11 pkgdesc="Unit testing framework for OCaml"
12 url="http://ounit.forge.ocamlcore.org"
14 makedepends=('ocaml-findlib')
16 source=("http://forge.ocamlcore.org/frs/download.php/762/ounit-$pkgver.tar.gz")
17 md5sums=('b28e4c25ad5fc9080639d47fd51c7c24')
20 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
21 make CONFIGUREFLAGS="--prefix /usr --destdir $pkgdir" build doc
25 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
26 export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
27 install -dm 755 "$OCAMLFIND_DESTDIR"
29 install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"