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

Konstantin Gizdov kgizdov at archlinux.org
Mon Jan 18 10:12:16 UTC 2021


    Date: Monday, January 18, 2021 @ 10:12:16
  Author: kgizdov
Revision: 822735

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-18 10:12:10 UTC (rev 822734)
+++ PKGBUILD	2021-01-18 10:12:16 UTC (rev 822735)
@@ -1,38 +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.7.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.11.0" ocaml-findlib ocaml-csexp)
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('b77d0e207263107365e5a6e94423e8ab4ddbab1f920872d915e4014b7cc69915274b53fe946bb4b29dfe3de2bf5573ab3b2bffb4db8eb50b472e7dfb6cab88b7')
-
-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/}
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 822734, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-18 10:12:16 UTC (rev 822735)
@@ -0,0 +1,38 @@
+# 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.8.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.11.1" ocaml-findlib ocaml-csexp)
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('29c9eae450c0570c2ddf179e41329f0e04cccb1f056314be4531c88cbf801eb8b8a2a5359392db6d78779a2fc815a00edb10ad4b3075f3a4353b9116fdf1fca1')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs,dune-site'
+    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 "${srcdir}/${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