1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 # Contributor: Luciano A. Ferrer <laferrer@gmail.com>
8 pkgdesc="OCaml binding for libmagic (to determine the type of files)."
9 url="https://sourceforge.net/projects/ocaml-magic"
11 makedepends=('ocaml-findlib')
13 source=("http://downloads.sourceforge.net/ocaml-magic/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('5b8a4d149fe8ce095ab8115f2e49beba')
16 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
19 cd "${srcdir}/${pkgname}-${pkgver}"
20 ./configure --prefix=/usr
25 cd "${srcdir}/${pkgname}-${pkgver}"
26 mkdir -p $OCAMLFIND_DESTDIR
28 OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR \
29 OCAMLFIND_LDCONF=ignore \