updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ocaml-theora / PKGBUILD
blobe3f035e0d202d9e3b1304a410b13ad7916255781
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-theora
3 pkgver=0.2.0
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml bindings for theora."
8 url="http://savonet.sourceforge.net/"
9 depends=('ocaml')
10 makedepends=('ocaml-findlib')
11 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('4fe17f5bcb27ec3d491eacf7126f3d92')
14 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   ./configure --prefix=/usr
19   make all
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   mkdir -p $OCAMLFIND_DESTDIR
25   make \
26     OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR \
27     OCAMLFIND_LDCONF=ignore \
28     install