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

Bruno Pagani archange at archlinux.org
Thu Mar 29 13:30:01 UTC 2018


    Date: Thursday, March 29, 2018 @ 13:30:00
  Author: archange
Revision: 313388

upgpkg: dune 1.0b19.1-1

Dependencies changes:
- dune is quite useless without ocaml;
- ocaml-findlib and opam (at least for now) are almost always required when
  building packages with dune, so add them as runtime deps.

Modified:
  dune/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-29 13:26:35 UTC (rev 313387)
+++ PKGBUILD	2018-03-29 13:30:00 UTC (rev 313388)
@@ -1,19 +1,20 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
 
 pkgname=dune
-pkgver=1.0b17
+pkgver=1.0b19.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')
-makedepends=('ocaml-findlib' 'opam')
+#Note: opam should be removed/moved to makedepends after https://github.com/ocaml/dune/issues/372 is fixed
+depends=('glibc' 'ocaml' 'ocaml-findlib' 'opam')
 provides=("jbuilder=${pkgver/b/+beta}")
 conflicts=('jbuilder')
 replaces=('jbuilder')
-source=(${pkgname}-${pkgver/b/+beta}.tar.gz::"${url}/archive/${pkgver/b/+beta}.tar.gz")
-sha256sums=('62d24f73101979c0680ad4093f65860792e8600090d04d7132446ab6ae269bec')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver/b/+beta}.tar.gz")
+sha256sums=('95b8ec1f4e7884dc3d78cd39118ae64c25dd5fc5f60f2ced999d62854e2e9de1')
 
 build() {
     cd ${pkgname}-${pkgver/b/-beta}
@@ -20,6 +21,12 @@
     make release
 }
 
+# Tests requires a bunch of (currently) unpackaged dependencies
+#check() {
+#    cd ${pkgname}-${pkgver/b/-beta}
+#    make test
+#}
+
 package() {
     cd ${pkgname}-${pkgver/b/-beta}
 



More information about the arch-commits mailing list