updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / ocaml-calendar / PKGBUILD
blob61a6b1a6b35730375fe8dc35a35f29e0a7043c01
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Kostas Andreadis <kmandreadis@gmail.com>
3 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
4 pkgname=ocaml-calendar
5 pkgver=2.03.1
6 pkgrel=1
7 pkgdesc="OCaml library managing dates and times"
8 arch=('i686' 'x86_64')
9 url="http://calendar.forge.ocamlcore.org"
10 license=('LGPL')
11 depends=('ocaml')
12 makedepends=('ocaml-findlib')
13 source=(http://forge.ocamlcore.org/frs/download.php/605/calendar-$pkgver.tar.gz)
14 md5sums=('8f14a2c7d84e4caf03099b049716d728')
15 options=('!strip')
17 OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir)
19 build() {
20   cd "$srcdir/calendar-$pkgver"
21   ./configure --prefix=/usr
22   make
25 package() {
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