[arch-commits] Commit in dune/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at archlinux.org
Sat Aug 29 13:13:21 UTC 2020
Date: Saturday, August 29, 2020 @ 13:13:20
Author: juergen
Revision: 692198
archrelease: copy trunk to community-x86_64
Added:
dune/repos/community-x86_64/PKGBUILD
(from rev 692197, dune/trunk/PKGBUILD)
Deleted:
dune/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-29 13:13:14 UTC (rev 692197)
+++ PKGBUILD 2020-08-29 13:13:20 UTC (rev 692198)
@@ -1,37 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=2.7.0
-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)
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('ccf5561a2f3672652a1efd072f161b4d4d1a524d2a77e0c001c6ed01f02599032e76c518a454e068e4a99105503117fce518113d2aa9f13bafb46b264b463ebd')
-
-build() {
- cd ${pkgname}-${pkgver}
- dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs'
- make dune.exe
- ./dune.exe build -p $dune_release_pkgs --profile dune-bootstrap
-}
-
-# 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
- DESTDIR="${pkgdir}" ./dune.exe install --prefix "/usr" --libdir=$(ocamlfind printconf destdir)
- # Fix doc and man install
- rm -r "${pkgdir}"/usr/doc
- install -dm755 "${pkgdir}"/usr/share
- mv "${pkgdir}"/usr/{man,share/}
-}
Copied: dune/repos/community-x86_64/PKGBUILD (from rev 692197, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-29 13:13:20 UTC (rev 692198)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=2.7.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>=4.11.0" ocaml-findlib)
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('ccf5561a2f3672652a1efd072f161b4d4d1a524d2a77e0c001c6ed01f02599032e76c518a454e068e4a99105503117fce518113d2aa9f13bafb46b264b463ebd')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs'
+ make dune.exe
+ ./dune.exe build -p $dune_release_pkgs --profile dune-bootstrap
+}
+
+# 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
+ DESTDIR="${pkgdir}" ./dune.exe install --prefix "/usr" --libdir=$(ocamlfind printconf destdir)
+ # 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