summaryrefslogtreecommitdiff
path: root/pcr/ocaml-xmlm/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:34:37 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:34:37 +0200
commitdabe2966cf09aed9bb99695d3cf6825c2e555b32 (patch)
tree9790bcd218e3f26e5dd494c4156f2fb8e2531590 /pcr/ocaml-xmlm/PKGBUILD
parent545c3831e733105ed207d778252bc18505da5036 (diff)
ocaml-xmlm
Diffstat (limited to 'pcr/ocaml-xmlm/PKGBUILD')
-rw-r--r--pcr/ocaml-xmlm/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/ocaml-xmlm/PKGBUILD b/pcr/ocaml-xmlm/PKGBUILD
new file mode 100644
index 000000000..2476a3e9b
--- /dev/null
+++ b/pcr/ocaml-xmlm/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor (Arch) : charlesthehawk -- yahoo -- com
+# Contributor (Arch) : Gregory BELLIER <gregory.bellier -- gmail -- com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=ocaml-xmlm
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="OCaml xml manipulation module"
+arch=('i686' 'x86_64')
+url="http://erratique.ch/software/xmlm/"
+license=('BSD')
+makedepends=('ocaml ocaml-findlib')
+options=('!strip')
+install=
+source=(http://erratique.ch/software/xmlm/releases/xmlm-$pkgver.tbz)
+
+build() {
+
+ cd "$srcdir/xmlm-$pkgver"
+ ocaml setup.ml -configure --prefix ${pkgdir}/usr
+ ocaml setup.ml -build
+}
+
+package() {
+ cd "${srcdir}/xmlm-${pkgver}"
+ mkdir -p ${pkgdir}$(ocamlfind printconf destdir)
+ env OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) \
+ ocaml setup.ml -install
+}
+
+# vim:set ts=2 sw=2 et:
+