diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 08:50:46 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 08:50:46 +0100 |
commit | 5fbee0316c09bbe0b8f63c420adca0247926a8dc (patch) | |
tree | 1ec228b45eafc207b8f21ac3f063befd5f8b0546 | |
parent | ccdceec9df177fa7aa58a1d846a9ae184ef8757c (diff) | |
download | abslibre-5fbee0316c09bbe0b8f63c420adca0247926a8dc.tar.gz abslibre-5fbee0316c09bbe0b8f63c420adca0247926a8dc.tar.bz2 abslibre-5fbee0316c09bbe0b8f63c420adca0247926a8dc.zip |
pcr/ocaml-xmlm: updated to 1.3.0
-rw-r--r-- | pcr/ocaml-xmlm/PKGBUILD | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/pcr/ocaml-xmlm/PKGBUILD b/pcr/ocaml-xmlm/PKGBUILD index efed83ca1..f10414c57 100644 --- a/pcr/ocaml-xmlm/PKGBUILD +++ b/pcr/ocaml-xmlm/PKGBUILD @@ -1,36 +1,37 @@ -# 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 (AUR) : Jakob Gahde <j5lx@fmail.co.uk> +# Contributor (AUR) : Leonard de Ruijter <leonard@aur.archlinux.org> +# Contributor (AUR) : charlesthehawk -- yahoo -- com +# Contributor (AUR) : Gregory BELLIER <gregory.bellier -- gmail -- com> # Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> _pkgname=xmlm pkgname=ocaml-${_pkgname} -pkgver=1.2.0 +pkgver=1.3.0 pkgrel=1 -pkgdesc="OCaml xml manipulation module" -arch=('i686' 'x86_64') +pkgdesc="An OCaml streaming codec to decode and encode the XML data format" +arch=('i686' 'x86_64' 'armv7h') url="http://erratique.ch/software/xmlm/" -license=('BSD3') +license=('ISC') depends=('ocaml') -makedepends=('opam' 'ocaml-findlib') +makedepends=('ocamlbuild' 'ocaml-findlib' 'ocaml-topkg' 'opam') options=('!strip' 'staticlibs') -source=(http://erratique.ch/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tbz) -md5sums=('7e6d3363c2395d84274f1b480e4b6003') +source=("http://erratique.ch/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tbz") +md5sums=('d63ce15d913975211196b5079e86a797') build() { cd "${srcdir}/${_pkgname}-${pkgver}" - pkg/build true + ocaml pkg/pkg.ml build } 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: + opam-installer "--prefix=${pkgdir}/usr" \ + "--libdir=${pkgdir}$(ocamlc -where)" \ + "--docdir=${pkgdir}/usr/share/doc" + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + mv "${pkgdir}/usr/share/doc/${_pkgname}/LICENSE.md" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" +} |