[arch-commits] Commit in dune/repos/community-x86_64 (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Sun Oct 11 15:41:22 UTC 2020
Date: Sunday, October 11, 2020 @ 15:41:21
Author: freswa
Revision: 723493
archrelease: copy trunk to community-x86_64
Added:
dune/repos/community-x86_64/PKGBUILD
(from rev 723492, dune/trunk/PKGBUILD)
Deleted:
dune/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-11 15:41:18 UTC (rev 723492)
+++ PKGBUILD 2020-10-11 15:41:21 UTC (rev 723493)
@@ -1,38 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=dune
-pkgver=2.7.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>=4.11.0" ocaml-findlib ocaml-csexp)
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('b77d0e207263107365e5a6e94423e8ab4ddbab1f920872d915e4014b7cc69915274b53fe946bb4b29dfe3de2bf5573ab3b2bffb4db8eb50b472e7dfb6cab88b7')
-
-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 723492, dune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-11 15:41:21 UTC (rev 723493)
@@ -0,0 +1,38 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=dune
+pkgver=2.7.1
+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 ocaml-csexp)
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('b77d0e207263107365e5a6e94423e8ab4ddbab1f920872d915e4014b7cc69915274b53fe946bb4b29dfe3de2bf5573ab3b2bffb4db8eb50b472e7dfb6cab88b7')
+
+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