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

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


    Date: Thursday, March 29, 2018 @ 13:30:32
  Author: archange
Revision: 313389

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 46 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-29 13:30:00 UTC (rev 313388)
+++ PKGBUILD	2018-03-29 13:30:32 UTC (rev 313389)
@@ -1,39 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=dune
-pkgver=1.0b17
-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')
-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')
-
-build() {
-    cd ${pkgname}-${pkgver/b/-beta}
-    make release
-}
-
-package() {
-    cd ${pkgname}-${pkgver/b/-beta}
-
-    # Initialize OPAM
-    export OPAMROOT="${srcdir}"/opam
-    opam init -n
-
-    # Work around the install command
-    export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
-    install -dm755 ${OCAMLFIND_DESTDIR}
-    make INSTALL_ARGS="--prefix='${pkgdir}'/usr --libdir='${OCAMLFIND_DESTDIR}'" install
-
-    # Fix doc and man install
-    install -dm755 "${pkgdir}"/usr/share
-    mv "${pkgdir}"/usr/{doc,share/}
-    mv "${pkgdir}"/usr/{man,share/}
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 313388, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-29 13:30:32 UTC (rev 313389)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+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')
+#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}.tar.gz::"${url}/archive/${pkgver/b/+beta}.tar.gz")
+sha256sums=('95b8ec1f4e7884dc3d78cd39118ae64c25dd5fc5f60f2ced999d62854e2e9de1')
+
+build() {
+    cd ${pkgname}-${pkgver/b/-beta}
+    make release
+}
+
+# Tests requires a bunch of (currently) unpackaged dependencies
+#check() {
+#    cd ${pkgname}-${pkgver/b/-beta}
+#    make test
+#}
+
+package() {
+    cd ${pkgname}-${pkgver/b/-beta}
+
+    # Initialize OPAM
+    export OPAMROOT="${srcdir}"/opam
+    opam init -n
+
+    # Work around the install command
+    export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
+    install -dm755 ${OCAMLFIND_DESTDIR}
+    make INSTALL_ARGS="--prefix='${pkgdir}'/usr --libdir='${OCAMLFIND_DESTDIR}'" install
+
+    # Fix doc and man install
+    install -dm755 "${pkgdir}"/usr/share
+    mv "${pkgdir}"/usr/{doc,share/}
+    mv "${pkgdir}"/usr/{man,share/}
+}



More information about the arch-commits mailing list