blob: efed83ca10b88cacbacb784e7c8901a4055a83fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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=xmlm
pkgname=ocaml-${_pkgname}
pkgver=1.2.0
pkgrel=1
pkgdesc="OCaml xml manipulation module"
arch=('i686' 'x86_64')
url="http://erratique.ch/software/xmlm/"
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}"
pkg/build true
}
package() {
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:
|