updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / ocaml-faad / PKGBUILD
blobf20fc25daf78c3ae536f0afe2a0178fe0f67fcb3
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-faad
3 pkgver=0.1.3
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml libs for faad."
8 url="http://savonet.sourceforge.net/"
9 depends=('ocaml')
10 makedepends=('ocaml-findlib')
11 options=('!strip' '!makeflags')
12 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('64e669a3558784337affdb3c82aefddd')
15 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   ./configure --prefix=/usr
20   make all
23 package() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
25   mkdir -p $OCAMLFIND_DESTDIR
26   make \
27     OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR \
28     OCAMLFIND_LDCONF=ignore \
29     install