diff options
author | Jakob Gahde | 2019-05-14 14:47:23 +0200 |
---|---|---|
committer | Jakob Gahde | 2019-05-14 14:47:23 +0200 |
commit | 0c17c4bc301fe14a5ca1450a2cfe800103e11650 (patch) | |
tree | 950a181818739fc5c318cdc68891b2cc1db05012 | |
parent | 36be7907739709ebfef3db216fc06e98cacb2ca4 (diff) | |
download | aur-0c17c4bc301fe14a5ca1450a2cfe800103e11650.tar.gz |
ocaml-fieldslib 1:0.12.0-1: New version
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 14 deletions
@@ -1,22 +1,18 @@ -# Generated by mksrcinfo v8 -# Thu Jun 28 06:55:48 UTC 2018 pkgbase = ocaml-fieldslib pkgdesc = OCaml record fields as first class values - pkgver = 0.11.0 + pkgver = 0.12.0 pkgrel = 1 epoch = 1 url = https://github.com/janestreet/fieldslib arch = i686 arch = x86_64 - license = Apache + license = MIT makedepends = dune depends = ocaml depends = ocaml-base - depends = ocaml-migrate-parsetree - depends = ocaml-ppxlib options = !strip - source = https://ocaml.janestreet.com/ocaml-core/v0.11/files/fieldslib-v0.11.0.tar.gz - md5sums = a42506b460a1dc47fb65a37d875211ae + source = https://ocaml.janestreet.com/ocaml-core/v0.12/files/fieldslib-v0.12.0.tar.gz + sha512sums = c103ea6d35213549e75c0cc4ade2828a5ff5bec56edb6a83ffbdcdeff57a65ea117c33432cd8e8b9cfdfe70d26b8d4e22b4717f401c50a4e8a1eb80c78d6b2b7 pkgname = ocaml-fieldslib @@ -1,29 +1,30 @@ # Maintainer: Jakob Gahde <j5lx@fmail.co.uk> pkgname=ocaml-fieldslib -pkgver=0.11.0 +pkgver=0.12.0 pkgrel=1 epoch=1 pkgdesc="OCaml record fields as first class values " arch=('i686' 'x86_64') url="https://github.com/janestreet/fieldslib" -license=('Apache') -depends=('ocaml' 'ocaml-base' 'ocaml-migrate-parsetree' 'ocaml-ppxlib') +license=('MIT') +depends=('ocaml' 'ocaml-base') makedepends=('dune') options=('!strip') source=("https://ocaml.janestreet.com/ocaml-core/v$(echo ${pkgver} | grep -Po "^[0-9]+\.[0-9]+")/files/fieldslib-v${pkgver}.tar.gz") -md5sums=('a42506b460a1dc47fb65a37d875211ae') +sha512sums=('c103ea6d35213549e75c0cc4ade2828a5ff5bec56edb6a83ffbdcdeff57a65ea117c33432cd8e8b9cfdfe70d26b8d4e22b4717f401c50a4e8a1eb80c78d6b2b7') build() { cd "${srcdir}/fieldslib-v${pkgver}" - jbuilder build + dune build } package() { cd "${srcdir}/fieldslib-v${pkgver}" install -dm755 "${pkgdir}$(ocamlfind -printconf destdir)" "${pkgdir}/usr/share" - jbuilder install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind -printconf destdir)" + dune install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind -printconf destdir)" mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" + install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" } |