From f53c88cb355568d7346a1b3b898db03b2a2f56f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Thu, 5 Jun 2014 20:44:53 +0200 Subject: ocaml-biniou --- pcr/ocaml-biniou/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/ocaml-biniou/PKGBUILD (limited to 'pcr/ocaml-biniou') diff --git a/pcr/ocaml-biniou/PKGBUILD b/pcr/ocaml-biniou/PKGBUILD new file mode 100644 index 000000000..c5b6b74dc --- /dev/null +++ b/pcr/ocaml-biniou/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor (Arch) : Leonard de Ruijter +# Contributor (Arch) : Serge Zirukin +# Contributor (Arch) : Sergei Lebedev +# Contributor (Arch) : Justin Davis +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +pkgname=ocaml-biniou +_oname=biniou +pkgver=1.0.8 +pkgrel=3 +pkgdesc='A binary data serialization format inspired by JSON' +arch=('i686' 'x86_64') +options=('!strip' '!makeflags' 'staticlibs') +license=('BSD') +depends=('glibc') +makedepends=('ocaml-easy-format' 'ocaml-findlib') +url='http://mjambon.com/biniou.html' +source=("http://mjambon.com/releases/${_oname}/${_oname}-${pkgver}.tar.gz") + +build() { + cd $srcdir/$_oname-$pkgver + make && make doc +} + +package() { + cd $srcdir/$_oname-$pkgver + mkdir -p $pkgdir/usr/bin $pkgdir$(ocamlfind printconf destdir) + make OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) install BINDIR="${pkgdir}/usr/bin" + install -dm755 "${pkgdir}/usr/share/doc/$pkgname" + install -t "${pkgdir}/usr/share/doc/$pkgname" doc/* +} -- cgit v1.2.3-2-g168b