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

Jürgen Hötzel juergen at gemini.archlinux.org
Sat Dec 11 12:25:00 UTC 2021


    Date: Saturday, December 11, 2021 @ 12:24:59
  Author: juergen
Revision: 1068243

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-11 12:24:49 UTC (rev 1068242)
+++ PKGBUILD	2021-12-11 12:24:59 UTC (rev 1068243)
@@ -1,37 +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=2.9.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.12.0' 'ocaml-findlib' 'ocaml-csexp')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make dune.exe  # this runs `ocaml bootstrap.ml`, but keeps upstream's choice
-    dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs,dune-site'
-    ./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}"
-
-    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/}
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 1068242, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-11 12:24:59 UTC (rev 1068243)
@@ -0,0 +1,37 @@
+# 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=2.9.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>=4.13.1' 'ocaml-findlib' 'ocaml-csexp')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make dune.exe  # this runs `ocaml bootstrap.ml`, but keeps upstream's choice
+    dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs,dune-site'
+    ./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}"
+
+    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