updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ocaml-objsize / PKGBUILD
blob009002ccfb228288c118ad6c27a2fadb905b8fa0
1 # Maintainer: Simon Legner <Simon.Legner@gmail.com>
2 pkgname=ocaml-objsize
3 _pkgname=objsize
4 pkgver=0.16
5 pkgrel=1
6 pkgdesc="A small OCaml library for computing size of OCaml values."
7 arch=('i686' 'x86_64')
8 url="http://forge.ocamlcore.org/projects/objsize/"
9 license=('GPL')
10 depends=('ocaml')
11 makedepends=('ocaml-findlib')
12 source=(https://forge.ocamlcore.org/frs/download.php/442/$_pkgname-$pkgver.tar.gz)
14 build() {
15   cd "$srcdir/$_pkgname-$pkgver"
17   make lib
20 package() {
21   cd "$srcdir/$_pkgname-$pkgver"
23   mkdir -p ${pkgdir}$(ocamlfind printconf destdir) 
24   make install \
25     DESTDIR=$pkgdir \
26     OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) \
27     OCAMLFIND_LDCONF=ignore
30 # vim:set ts=2 sw=2 et:
31 md5sums=('66f550c611d3a3499454ff906d60b42d')