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

Jürgen Hötzel juergen at archlinux.org
Sun May 17 15:47:16 UTC 2020


    Date: Sunday, May 17, 2020 @ 15:47:15
  Author: juergen
Revision: 628248

Also install dune-configurator (required for ocaml-cairo)

Modified:
  dune/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-17 12:15:33 UTC (rev 628247)
+++ PKGBUILD	2020-05-17 15:47:15 UTC (rev 628248)
@@ -14,7 +14,9 @@
 
 build() {
     cd ${pkgname}-${pkgver}
-    make release
+    dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs'
+    make dune.exe
+    ./dune.exe  build -p $dune_release_pkgs --profile dune-bootstrap
 }
 
 # Tests requires a bunch of (currently) unpackaged dependencies
@@ -26,8 +28,8 @@
 package() {
     cd ${pkgname}-${pkgver}
 
-    make DESTDIR="${pkgdir}" INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install
-
+    # make DESTDIR="${pkgdir}" INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install
+    DESTDIR="${pkgdir}" ./dune.exe install --prefix "/usr" --libdir=$(ocamlfind printconf destdir)
     # Fix doc and man install
     rm -r "${pkgdir}"/usr/doc
     install -dm755 "${pkgdir}"/usr/share


More information about the arch-commits mailing list