Source

aur / ocaml-calendar / PKGBUILD

# Maintainer: Taylor Venable <taylor@metasyntax.net>

srcname='calendar'
pkgname="ocaml-${srcname}"
pkgver='2.03.2'
pkgrel=1
pkgdesc='OCaml library managing dates and times'
arch=('i686' 'x86_64')
url="http://forge.ocamlcore.org/projects/calendar/"
license=('LGPL')
depends=('ocaml')
makedepends=('ocaml-findlib')
source=('http://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz')
md5sums=('4f50e3c9ad0eec3d06c0457a2ba0f0b4')
options=('!strip')

build() {
  cd "${srcdir}/${srcname}-${pkgver}"

  ./configure --prefix /usr
  make
}

package() {
  mkdir -p "${pkgdir}/$(ocamlfind printconf destdir)"

  cd "${srcdir}/${srcname}-${pkgver}"
  make OCAMLFIND_DESTDIR="${pkgdir}/$(ocamlfind printconf destdir)" install
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.