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/495/ounit-${pkgver}.tar.gz")
17 md5sums=('bf82bd7f8853cd9a1aff7be716192643')
20 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
21 make CONFIGUREFLAGS="--prefix /usr --destdir $pkgdir" build
25 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
26 export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
27 install -dm 755 "$OCAMLFIND_DESTDIR"
28 install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"