updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ocaml-res / PKGBUILD
blobac4e00a96cfd6978074713675a8a92cb3c8d0598
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Guillem Rieu <guillemr@gmx.net>
3 pkgname=ocaml-res
4 pkgver=3.2.0
5 pkgrel=3
6 pkgdesc="Library for automatically resizing contiguous memory (arrays and strings)"
7 arch=('i686' 'x86_64')
8 url="http://www.ocaml.info/home/ocaml_sources.html"
9 license=('LGPL')
10 depends=('ocaml')
11 makedepends=('ocaml-findlib')
12 source=(http://hg.ocaml.info/release/res/archive/release-$pkgver.tar.gz)
13 md5sums=('8fda014a3c960490caae95d7be5ba106')
14 options=('!strip')
16 build() {
17   cd "$srcdir/res-release-$pkgver"
19   make || return 1
22 package(){
23   cd "$srcdir/res-release-$pkgver"
25   export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
27   mkdir -p $OCAMLFIND_DESTDIR
28   make install || return 1