Date: Sunday, April 2, 2023 @ 22:01:04
Author: kgizdov
Revision: 1434263
archrelease: copy trunk to community-x86_64
Added:
dune/repos/community-x86_64/PKGBUILD
(from rev 1434262, dune/trunk/PKGBUILD)
Deleted:
dune/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-02 22:00:57 UTC (rev 1434262)
+++ PKGBUILD 2023-04-02 22:01:04 UTC (rev 1434263)
@@ -1,60 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Maintainer: Bruno Pagani <[email protected]>
-# Contributor: Jakob Gahde <[email protected]>
-
-pkgname=dune
-pkgver=3.6.2
-pkgrel=1
-pkgdesc="A composable build system for OCaml (formerly jbuilder)"
-arch=(x86_64)
-url="https://github.com/ocaml/dune"
-license=('Apache')
-depends=('glibc')
-makedepends=('ocaml' 'ocaml-compiler-libs' 'ocaml-csexp' 'ocaml-pp'
'ocaml-findlib')
-optdepends=('ocaml: Dune standard library')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-b2sums=('4043a425c2d8a141fe89187d0ff0c26dc26a71a98c87e17bec0a8bdbfc58a5e7f55460fa06427915b2035fa33b46244aac6631dcac0106833ead7acaed776f95')
-
-
-_dune_release_pkgs=('dune' 'dune-action-plugin' 'dune-build-info'
'dune-configurator' 'dune-glob' 'dune-private-libs' 'dune-site' 'dune-rpc'
'dyn' 'stdune' 'ordering' 'xdg' 'fiber')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # FS#74061
- ./configure --libdir /usr/lib/ocaml
-
- make _boot/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 1434262,
dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-02 22:01:04 UTC (rev 1434263)
@@ -0,0 +1,61 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Jakob Gahde <[email protected]>
+
+pkgname=dune
+pkgver=3.7.0.post1
+pkgrel=1
+pkgdesc="A composable build system for OCaml (formerly jbuilder)"
+arch=(x86_64)
+url="https://github.com/ocaml/dune"
+license=('Apache')
+depends=('glibc')
+makedepends=('ocaml' 'ocaml-compiler-libs' 'ocaml-csexp' 'ocaml-pp'
'ocaml-findlib')
+optdepends=('ocaml: Dune standard library')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('8bce5ed8696ebbae83d34adb1dfb03a471edbe053dca89a4fbfc0dc7c14588a2d84ef2241d2e8d94beb1cf0f77617bce23446aa8156fe5b2e9c587aa0d6ef32b')
+
+
+_dune_release_pkgs=('dune' 'dune-action-plugin' 'dune-build-info'
'dune-configurator' 'dune-glob' 'dune-private-libs'
+ 'dune-site' 'dune-rpc' 'dyn' 'stdune' 'ordering' 'xdg'
'chrome-trace' 'ocamlc-loc')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # FS#74061
+ ./configure --libdir /usr/lib/ocaml
+
+ make _boot/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"
+}