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

Bruno Pagani archange at archlinux.org
Sun Nov 25 10:26:49 UTC 2018


    Date: Sunday, November 25, 2018 @ 10:26:48
  Author: archange
Revision: 409686

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-25 10:26:34 UTC (rev 409685)
+++ PKGBUILD	2018-11-25 10:26:48 UTC (rev 409686)
@@ -1,45 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=1.4.0
-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' 'ocaml-findlib')
-provides=('jbuilder')
-conflicts=('jbuilder')
-replaces=('jbuilder')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
-sha256sums=('d71b484c602160c3a20453aae10ac4562878a5a8b43a8202b0f4a0f8c2648b4c')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    make release
-}
-
-# Tests requires a bunch of (currently) unpackaged dependencies
-#check() {
-#    cd ${pkgname}-${pkgver/b/-beta}
-#    make test
-#}
-
-package() {
-    cd ${pkgname}-${pkgver}
-
-    # 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
-    rm -r "${pkgdir}"/usr/doc
-    install -dm755 "${pkgdir}"/usr/share
-    mv "${pkgdir}"/usr/{man,share/}
-    # FS#60288
-    install -dm755 "${pkgdir}"/usr/share/man/man{1,5}
-    mv "${pkgdir}"/usr/share/man/{*.1,man1}
-    mv "${pkgdir}"/usr/share/man/{dune-config.5,man5}
-}

Copied: dune/repos/community-x86_64/PKGBUILD (from rev 409685, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-25 10:26:48 UTC (rev 409686)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=1.5.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' 'ocaml-findlib')
+provides=('jbuilder')
+conflicts=('jbuilder')
+replaces=('jbuilder')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
+sha256sums=('fb7fe87ab6c3b4097512a0357629ca1cb9422e0593bd61cc255ab4a1a2aaad50')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    make release
+}
+
+# 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
+
+    # 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