# Contributor (Arch) : Jakob Gahde # Contributor (Arch) : Leonard de Ruijter # Contributor (Arch) : charlesthehawk -- yahoo -- com # Contributor (Arch) : Gregory BELLIER # Maintainer (Parabola) : Aurélien DESBRIÈRES _pkgname=xmlm pkgname=ocaml-${_pkgname} pkgver=1.2.0 pkgrel=1 pkgdesc="OCaml xml manipulation module" arch=('i686' 'x86_64') url="http://erratique.ch/software/xmlm/" license=('BSD3') depends=('ocaml') makedepends=('opam' 'ocaml-findlib') options=('!strip' 'staticlibs') source=(http://erratique.ch/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tbz) md5sums=('7e6d3363c2395d84274f1b480e4b6003') build() { cd "${srcdir}/${_pkgname}-${pkgver}" pkg/build true } package() { cd "${srcdir}/${_pkgname}-${pkgver}" opam-installer --prefix=$pkgdir/usr \ --libdir=$pkgdir$(ocamlc -where) \ --docdir=$pkgdir/usr/share/doc } # vim:set ts=2 sw=2 et: