updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ocaml-csv / PKGBUILD
blobf199b26df6ef409107faa837567e1970f66d748c
1 # Contributor: Denis Wernert <denis@wernert.info>
2 pkgname=ocaml-csv
3 pkgver=1.2.2
4 pkgrel=1
5 pkgdesc="OCaml CSV parsing library"
6 arch=('i686' 'x86_64')
7 url="https://forge.ocamlcore.org/projects/csv/"
8 license=('LGPL')
9 depends=('ocaml')
10 makedepends=('ocaml' 'ocaml-findlib')
11 source=(https://forge.ocamlcore.org/frs/download.php/613/csv-$pkgver.tar.gz)
12 md5sums=('4b177e332719de1f9f5b16a31985d536')
13 options=(!libtool !strip zipman)
15 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
17 build() {
18   cd $srcdir/csv-$pkgver
19   make || return 1
22 package() {
23   cd $srcdir/csv-$pkgver
24   mkdir -p $OCAMLFIND_DESTDIR
25   env DESTDIR="${pkgdir}" \
26   OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \
27   make install || return 1
30 # vim:set ts=2 sw=2 et: