[arch-commits] Commit in dune/trunk (PKGBUILD)

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


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

upgpkg: dune 2.8.1-1

Modified:
  dune/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-18 10:11:53 UTC (rev 822733)
+++ PKGBUILD	2021-01-18 10:12:10 UTC (rev 822734)
@@ -3,21 +3,21 @@
 # Contributor: Jakob Gahde <j5lx at fmail.co.uk>
 
 pkgname=dune
-pkgver=2.7.1
-pkgrel=2
+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.0" ocaml-findlib ocaml-csexp)
+depends=(glibc "ocaml>=4.11.1" ocaml-findlib ocaml-csexp)
 source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('b77d0e207263107365e5a6e94423e8ab4ddbab1f920872d915e4014b7cc69915274b53fe946bb4b29dfe3de2bf5573ab3b2bffb4db8eb50b472e7dfb6cab88b7')
+sha512sums=('29c9eae450c0570c2ddf179e41329f0e04cccb1f056314be4531c88cbf801eb8b8a2a5359392db6d78779a2fc815a00edb10ad4b3075f3a4353b9116fdf1fca1')
 
 build() {
-    cd ${pkgname}-${pkgver}
-    dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs'
+    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
+    ./dune.exe build -p $dune_release_pkgs --profile dune-bootstrap
 }
 
 # Tests requires a bunch of (currently) unpackaged dependencies
@@ -27,7 +27,7 @@
 #}
 
 package() {
-    cd ${pkgname}-${pkgver}
+    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)



More information about the arch-commits mailing list