# Maintainer: Jakob Gahde pkgname=ocaml-ladspa pkgver=0.1.5 pkgrel=1 pkgdesc="OCaml bindings for LADSPA plugins" arch=('i686' 'x86_64') url="https://github.com/savonet/ocaml-ladspa" license=('LGPL2.1') depends=('ocaml') makedepends=('ocaml-findlib' 'ladspa') options=('!strip') source=("https://github.com/savonet/ocaml-ladspa/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") md5sums=('ae66337eb15dbbf0f432016e79db7267') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure make } package() { cd "${srcdir}/${pkgname}-${pkgver}" export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" mkdir -p "${OCAMLFIND_DESTDIR}/stublibs" make install }