updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ocaml-bjack / PKGBUILD
blobe96d143117723391591014f22ceb5720c818c330
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-bjack
3 pkgver=0.1.3
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml libs for bjack."
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=('13fcef846764e5856a095c6bcd67b3fd')
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