updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ocaml-ladspa / PKGBUILD
blob5d21e93b28397e708aa1aa37af01499d559aa9cb
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-ladspa
3 pkgver=0.1.2
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml Bindings to the ladspa library"
8 url="http://savonet.sourceforge.net/"
9 depends=('ocaml')
10 makedepends=('ocaml-findlib' 'ladspa')
11 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('0a93bcfaf92a855ecc85c61db0730a5d')
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