summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:40:53 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:40:53 +0200
commitf236bcf70efa484844c5d9e346b81caef8b24001 (patch)
tree552b19efb6261ef32462cc36f58d5a247aba9f43 /pcr
parentdabe2966cf09aed9bb99695d3cf6825c2e555b32 (diff)
ocaml-easy-format
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ocaml-easy-format/PKGBUILD29
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
+}