diff options
Diffstat (limited to 'pcr/ocaml-easy-format')
-rw-r--r-- | pcr/ocaml-easy-format/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/ocaml-easy-format/PKGBUILD b/pcr/ocaml-easy-format/PKGBUILD new file mode 100644 index 000000000..00a334d41 --- /dev/null +++ b/pcr/ocaml-easy-format/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor (Arch) : Leonard de Ruijter <leonard@aur.archlinux.org> +# Contributor (Arch) : Serge Zirukin <ftrvxmtrx@gmail.com> +# Contributor (Arch) : Sergei Lebedev <superbobry@gmail.com> +# Contributor (Arch) : kfgz <kfgz at interia pl> +# Contributor (Arch) : Justin Davis <jrcd 83 at gmail> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname=ocaml-easy-format +_oname=easy-format +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Data pretty printing made easy" +url="http://mjambon.com/easy-format.html" +arch=('i686' 'x86_64') +options=('!strip' 'staticlibs') +license=('BSD') +makedepends=('ocaml-findlib') +source=(http://mjambon.com/releases/${_oname}/${_oname}-${pkgver}.tar.gz) + +build() { + cd $srcdir/$_oname-$pkgver + make +} + +package() { + cd $srcdir/$_oname-$pkgver + mkdir -p ${pkgdir}$(ocamlfind printconf destdir) + make OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) install +} |