updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / ocaml-vorbis / PKGBUILD
blob5f80830f2a4cf41dea45ec85f8bd434655e444be
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 # Contributor: Luciano A. Ferrer <laferrer@gmail.com>
3 pkgname=ocaml-vorbis
4 pkgver=0.5.1
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 pkgdesc="OCaml bindings for the ogg/vorbis library"
9 url="http://savonet.sourceforge.net/"
10 depends=('ocaml' 'ocaml-ogg')
11 makedepends=('ocaml-findlib')
13 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('2dee81ed4aab437ad6f511a23c891f87')
16 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
20   ./configure --prefix=/usr
21   make all
24 package() {
25   cd "${srcdir}/${pkgname}-${pkgver}"
26   mkdir -p $OCAMLFIND_DESTDIR
27   make \
28     OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR \
29     OCAMLFIND_LDCONF=ignore \
30     install