[arch-commits] Commit in ocaml-pp/trunk (PKGBUILD)

Jürgen Hötzel juergen at gemini.archlinux.org
Tue Aug 9 19:02:10 UTC 2022


    Date: Tuesday, August 9, 2022 @ 19:02:10
  Author: juergen
Revision: 1264501

OCaml 4.14.0 rebuild

Modified:
  ocaml-pp/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 19:01:49 UTC (rev 1264500)
+++ PKGBUILD	2022-08-09 19:02:10 UTC (rev 1264501)
@@ -2,13 +2,13 @@
 _pkgname='pp'
 pkgname="ocaml-${_pkgname}"
 pkgver=1.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc="OCaml Pretty printing: a lean alternative to the Format module of the OCaml standard library."
 arch=('x86_64')
 url="https://github.com/ocaml-dune/pp"
 license=('MIT')
 makedepends=('dune')
-depends=('glibc' 'ocaml>=4.13.1')
+depends=('glibc' 'ocaml>=4.14.0')
 options=('!strip')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('8c4dbce6930c62f5cee26ebef907b7b862b03fb57a07a3c6bebc31ee40ef16a6fe2b9450a7fe7016dd48bcf9807009c411f5ea8e587550644495bd7970c63085')
@@ -20,7 +20,7 @@
 
 package() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
-    DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
+    DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir="$(ocamlc -where)"
 
     install -dm755 "${pkgdir}/usr/share/"
     mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"



More information about the arch-commits mailing list