1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Kostas Andreadis <kmandreadis@gmail.com>
3 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
7 pkgdesc="OCaml library managing dates and times"
9 url="http://calendar.forge.ocamlcore.org"
12 makedepends=('ocaml-findlib')
13 source=(http://forge.ocamlcore.org/frs/download.php/605/calendar-$pkgver.tar.gz)
14 md5sums=('8f14a2c7d84e4caf03099b049716d728')
17 OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir)
20 cd "$srcdir/calendar-$pkgver"
21 ./configure --prefix=/usr
26 cd "$srcdir/calendar-$pkgver"
27 mkdir -p $OCAMLFIND_DESTDIR
28 make OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR install
29 install -Dm 644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE