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

Konstantin Gizdov kgizdov at gemini.archlinux.org
Sun Mar 6 09:55:26 UTC 2022


    Date: Sunday, March 6, 2022 @ 09:55:25
  Author: kgizdov
Revision: 1142310

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-06 09:54:59 UTC (rev 1142309)
+++ PKGBUILD	2022-03-06 09:55:25 UTC (rev 1142310)
@@ -1,53 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=3.0.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>=4.13.1' 'ocaml-csexp' 'ocaml-pp')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('94c5975b9afef75727b537805e54850156e92f04b3cd8a1cc07e43f543c6b4642cd416ef827fc106c4b6f775cac074e603850a900a28fd357db7904956138840')
-
-_dune_release_pkgs=('dune' 'dune-action-plugin' 'dune-build-info' 'dune-configurator' 'dune-glob' 'dune-private-libs' 'dune-site' 'dyn' 'stdune' 'ordering' 'xdg' 'fiber')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make dune.exe  # this runs `ocaml bootstrap.ml`, but keeps upstream's choice
-
-    # dune build needs a comma separated list of packages
-    local dune_release_pkgs='dummy'
-    for _pkg in "${_dune_release_pkgs[@]}"; do
-      dune_release_pkgs+=",${_pkg}"
-    done
-    dune_release_pkgs="${dune_release_pkgs#dummy,}"
-    echo "Building packages: ${dune_release_pkgs}"
-
-    ./dune.exe build -p "${dune_release_pkgs}" --profile dune-bootstrap
-}
-
-# Tests require a bunch of (currently) unpackaged dependencies
-# check() {
-#     cd "${srcdir}/${pkgname}-${pkgver}"
-#     make test
-# }
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    # we need to install packages one by one
-	for _pkg in "${_dune_release_pkgs[@]}"; do
-      ./dune.exe install "${_pkg}" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)"
-    done
-
-    # Fix doc and man install
-    install -d "${pkgdir}"/usr/share
-    mv "${pkgdir}"/usr/{doc,share/}
-    mv "${pkgdir}"/usr/{man,share/}
-    install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-    ln -s /usr/share/doc/pp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 1142309, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-06 09:55:25 UTC (rev 1142310)
@@ -0,0 +1,53 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=3.0.3
+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>=4.13.1' 'ocaml-csexp' 'ocaml-pp')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('839e942bcf8189763d0d9b01614333bb2f036bce68c82959e51d2e9145b57067cb862b66781912391c1a0f531b8dddf2ffeafcee71c626169a437fe40feba155')
+
+_dune_release_pkgs=('dune' 'dune-action-plugin' 'dune-build-info' 'dune-configurator' 'dune-glob' 'dune-private-libs' 'dune-site' 'dyn' 'stdune' 'ordering' 'xdg' 'fiber')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make dune.exe  # this runs `ocaml bootstrap.ml`, but keeps upstream's choice
+
+    # dune build needs a comma separated list of packages
+    local dune_release_pkgs='dummy'
+    for _pkg in "${_dune_release_pkgs[@]}"; do
+      dune_release_pkgs+=",${_pkg}"
+    done
+    dune_release_pkgs="${dune_release_pkgs#dummy,}"
+    echo "Building packages: ${dune_release_pkgs}"
+
+    ./dune.exe build -p "${dune_release_pkgs}" --profile dune-bootstrap
+}
+
+# Tests require a bunch of (currently) unpackaged dependencies
+# check() {
+#     cd "${srcdir}/${pkgname}-${pkgver}"
+#     make test
+# }
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    # we need to install packages one by one
+	for _pkg in "${_dune_release_pkgs[@]}"; do
+      ./dune.exe install "${_pkg}" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)"
+    done
+
+    # Fix doc and man install
+    install -d "${pkgdir}"/usr/share
+    mv "${pkgdir}"/usr/{doc,share/}
+    mv "${pkgdir}"/usr/{man,share/}
+    install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+    ln -s /usr/share/doc/pp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list