blob: 09a8c8644ea268cede0e1723d840e3c9741a4316 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=ocaml-ffmpeg
pkgver=0.4.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=('279034401ff9fc76291420d9e5a0ba184778ce66df5522372af7bc80fa60b63f8e204bc4d0a02512bafa1ac8bb00168d48989e182a1123876fca6cb781e1c5df')
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
}
|