diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,30 +1,31 @@ -# Maintainer: Felix Golatofski <contact@xdfr.de> +# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > +# Contributor: Felix Golatofski <contact@xdfr.de> # Contributor: Jakob Gahde <j5lx@fmail.co.uk> pkgname=ocaml-textutils -pkgver=0.14.0 +pkgver=0.15.0 pkgrel=1 epoch=1 pkgdesc="Text output utilities" arch=('i686' 'x86_64') url="https://github.com/janestreet/textutils" license=('Apache') -depends=('ocaml' 'ocaml-core' 'ocaml-ppx_jane' 'ocaml-textutils_kernel' 'ocaml-migrate-parsetree' 'ocaml-ppxlib') +depends=('ocaml' 'ocaml-core' 'ocaml-core_unix' 'ocaml-ppx_jane' 'ocaml-textutils_kernel' 'ocaml-migrate-parsetree' 'ocaml-ppxlib' 'ocaml-uutf') makedepends=('dune') options=('!strip') source=("https://ocaml.janestreet.com/ocaml-core/v$(echo ${pkgver} | grep -Po "^[0-9]+\.[0-9]+")/files/textutils-v${pkgver}.tar.gz") -sha256sums=('14a2f8393159fcc43bfac82d0100364dc874fee94447aced80ec8ae99e2949eb') +sha256sums=('c0368fb6ad18727cd69fbfb20dd734fb7f7189707107d1f88d8de15837dc22df') build() { cd "${srcdir}/textutils-v${pkgver}" - jbuilder build + dune build } package() { cd "${srcdir}/textutils-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/" } |