updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ocaml-duppy / PKGBUILD
blobb88be4aceff7c4b4add55e37122f0c1c9a9ef2b8
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 # Contributor: Luciano A. Ferrer <laferrer@gmail.com>
3 pkgname=ocaml-duppy
4 pkgver=0.3.2
5 pkgrel=2
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 pkgdesc="An advanced scheduler for Ocaml programmers"
9 url="http://savonet.sourceforge.net/"
10 depends=('ocaml')
11 makedepends=('ocaml-findlib')
12 options=('!strip')
13 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('effcc03cd08e367a4a8d68b820053aeb')
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 OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR install