opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "uucd"]]
depends: [
  "ocaml" {< "4.06.0"}
  "ocamlfind" {build}
  "xmlm"
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Unicode character database decoder"
description: """
Uucd is an OCaml module to decode the data of the Unicode character
database from its XML representation. It provides high-level (but not
necessarily efficient) access to the data so that efficient
representations can be extracted."""
flags: light-uninstall
url {
  src: "http://erratique.ch/software/uucd/releases/uucd-0.9.0.tbz"
  checksum: "md5=076ee0ad4fe686b61d9ab2115cdbfe99"
}
