updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / ocaml-ao / PKGBUILD
blob0347d96872230760c47d64732f89eba255f24d4f
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-ao
3 pkgver=0.2.0
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml interface for ao."
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=('efd1e9aa49c42246765020f07ae4a903')
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