[arch-commits] Commit in dune/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Jul 12 08:34:43 UTC 2018
Date: Thursday, July 12, 2018 @ 08:34:43
Author: archange
Revision: 357607
archrelease: copy trunk to community-x86_64
Added:
dune/repos/community-x86_64/PKGBUILD
(from rev 357606, dune/trunk/PKGBUILD)
Deleted:
dune/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-12 08:34:36 UTC (rev 357606)
+++ PKGBUILD 2018-07-12 08:34:43 UTC (rev 357607)
@@ -1,46 +0,0 @@
-# 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/}
-}
Copied: dune/repos/community-x86_64/PKGBUILD (from rev 357606, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-12 08:34:43 UTC (rev 357607)
@@ -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=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/}
+}
More information about the arch-commits
mailing list