# Maintainer: Jakob Gahde pkgname=ocaml-ffmpeg pkgver=0.2.1 pkgrel=1 pkgdesc="OCaml bindings to the FFmpeg library" arch=('i686' 'x86_64') url="https://github.com/savonet/ocaml-ffmpeg" license=('LGPL2.1') depends=('ocaml' 'ffmpeg') makedepends=('ocaml-findlib') options=('!strip') source=("https://github.com/savonet/ocaml-ffmpeg/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('57df95397b459f2a5c64acabdaa82992d23e31bf9c9de4446a832de4f455ed79b555a4b7e4ff772d3a68bced7056e5da3131e45ec895d804059a030edbadf8a1') 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 }