updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / ocaml-sha / PKGBUILD
blob1d35fc2c676539729eda2c8a5152861228e6c5b5
1 # Maintainer : Sergei Lebede <superbobry@gmail.com>
2 pkgname=ocaml-sha
3 pkgver=1.7
4 pkgrel=1
5 pkgdesc='SHA cryptographic hash functions for OCaml'
6 arch=('i686' 'x86_64')
7 url="http://tab.snarc.org/projects/ocaml_sha"
8 license=('LGPL')
9 depends=('ocaml')
10 source=(http://ftp.debian.org/debian/pool/main/o/ocaml-sha/ocaml-sha_$pkgver.orig.tar.bz2)
11 md5sums=('035411f0ebb78fb4b3ec9345f2bce2cf')
12 options=(!strip)
14 build() {
15   cd "$srcdir/ocaml_sha-$pkgver"
17   make || return 1
20 package(){
21   cd '$srcdir/ocaml_sha-$pkgver'
23   OCAMLFIND_DESTDIR='${pkgdir}$(ocamlfind printconf destdir)'
24   mkdir -p $OCAMLFIND_DESTDIR
25   OCAMLFIND_LDCONF=ignore OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR make install