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

Jürgen Hötzel juergen at archlinux.org
Tue Aug 14 15:34:58 UTC 2018


    Date: Tuesday, August 14, 2018 @ 15:34:58
  Author: juergen
Revision: 371529

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 15:34:34 UTC (rev 371528)
+++ PKGBUILD	2018-08-14 15:34:58 UTC (rev 371529)
@@ -1,46 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=1.0.0
-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')
-conflicts=('jbuilder')
-replaces=('jbuilder')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
-sha256sums=('1bba92d9f1a397dd315a461fd5d3917cba84ec86a2dd164cef112851c80c2e4f')
-
-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}
-
-    # 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 371528, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 15:34:58 UTC (rev 371529)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=1.0.0
+pkgrel=2
+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')
+conflicts=('jbuilder')
+replaces=('jbuilder')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
+sha256sums=('1bba92d9f1a397dd315a461fd5d3917cba84ec86a2dd164cef112851c80c2e4f')
+
+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}
+
+    # 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