[arch-commits] Commit in dune/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Mon May 18 17:38:54 UTC 2020


    Date: Monday, May 18, 2020 @ 17:38:53
  Author: juergen
Revision: 629575

archrelease: copy trunk to community-x86_64

Added:
  dune/repos/community-x86_64/PKGBUILD
    (from rev 629574, dune/trunk/PKGBUILD)
Deleted:
  dune/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-18 17:35:47 UTC (rev 629574)
+++ PKGBUILD	2020-05-18 17:38:53 UTC (rev 629575)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=2.5.1
-pkgrel=1
-pkgdesc="A composable build system for OCaml (formerly jbuilder)"
-arch=(x86_64)
-url="https://github.com/ocaml/dune"
-license=(Apache)
-depends=(glibc ocaml ocaml-findlib)
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('d7d3df74c33ef9b2d1fb95c3150e91056b69aefbad44542bd4af3ef310038a3b083fb178065ec0fbb5eb3dd564578d04d37944ec022fb92fe5d437a6ca7ec3fa')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    make release
-}
-
-# Tests requires a bunch of (currently) unpackaged dependencies
-#check() {
-#    cd ${pkgname}-${pkgver/b/-beta}
-#    make test
-#}
-
-package() {
-    cd ${pkgname}-${pkgver}
-
-    make DESTDIR="${pkgdir}" INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install
-
-    # Fix doc and man install
-    rm -r "${pkgdir}"/usr/doc
-    install -dm755 "${pkgdir}"/usr/share
-    mv "${pkgdir}"/usr/{man,share/}
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 629574, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-18 17:38:53 UTC (rev 629575)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=2.5.1
+pkgrel=2
+pkgdesc="A composable build system for OCaml (formerly jbuilder)"
+arch=(x86_64)
+url="https://github.com/ocaml/dune"
+license=(Apache)
+depends=(glibc ocaml ocaml-findlib)
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d7d3df74c33ef9b2d1fb95c3150e91056b69aefbad44542bd4af3ef310038a3b083fb178065ec0fbb5eb3dd564578d04d37944ec022fb92fe5d437a6ca7ec3fa')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    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
+#check() {
+#    cd ${pkgname}-${pkgver/b/-beta}
+#    make test
+#}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    # 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
+    mv "${pkgdir}"/usr/{man,share/}
+}



More information about the arch-commits mailing list