summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 06:00:23 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 06:00:23 -0500
commitb574d79b673542beecc8b508364f26a949f1cecb (patch)
tree98e56edf1e3db146e0957e197f5d8d8b6eb54bd5
parent4e738ea06fb621f10f5a45a7fcf22f6925b2e969 (diff)
downloadabslibre-b574d79b673542beecc8b508364f26a949f1cecb.tar.gz
abslibre-b574d79b673542beecc8b508364f26a949f1cecb.tar.bz2
abslibre-b574d79b673542beecc8b508364f26a949f1cecb.zip
ocaml-xmlm-1.2.0-1: updating version
-rw-r--r--pcr/ocaml-xmlm/PKGBUILD34
1 files changed, 19 insertions, 15 deletions
diff --git a/pcr/ocaml-xmlm/PKGBUILD b/pcr/ocaml-xmlm/PKGBUILD
index 6feeb0a81..efed83ca1 100644
--- a/pcr/ocaml-xmlm/PKGBUILD
+++ b/pcr/ocaml-xmlm/PKGBUILD
@@ -1,31 +1,35 @@
+# Contributor (Arch) : Jakob Gahde <j5lx@fmail.co.uk>
+# Contributor (Arch) : Leonard de Ruijter <leonard@aur.archlinux.org>
# 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
+_pkgname=xmlm
+pkgname=ocaml-${_pkgname}
+pkgver=1.2.0
pkgrel=1
pkgdesc="OCaml xml manipulation module"
-arch=('i686' 'x86_64' 'mips64el')
+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)
+license=('BSD3')
+depends=('ocaml')
+makedepends=('opam' 'ocaml-findlib')
+options=('!strip' 'staticlibs')
+source=(http://erratique.ch/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tbz)
+md5sums=('7e6d3363c2395d84274f1b480e4b6003')
build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
- cd "$srcdir/xmlm-$pkgver"
- ocaml setup.ml -configure --prefix ${pkgdir}/usr
- ocaml setup.ml -build
+ pkg/build true
}
package() {
- cd "${srcdir}/xmlm-${pkgver}"
- mkdir -p ${pkgdir}$(ocamlfind printconf destdir)
- env OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) \
- ocaml setup.ml -install
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ opam-installer --prefix=$pkgdir/usr \
+ --libdir=$pkgdir$(ocamlc -where) \
+ --docdir=$pkgdir/usr/share/doc
}
# vim:set ts=2 sw=2 et: