[arch-commits] Commit in ocaml/repos/extra-x86_64 (4 files)

Jürgen Hötzel juergen at gemini.archlinux.org
Tue Jul 27 15:43:21 UTC 2021


    Date: Tuesday, July 27, 2021 @ 15:43:21
  Author: juergen
Revision: 420512

archrelease: copy trunk to extra-x86_64

Added:
  ocaml/repos/extra-x86_64/PKGBUILD
    (from rev 420511, ocaml/trunk/PKGBUILD)
  ocaml/repos/extra-x86_64/ocaml-4.08.0.patch
    (from rev 420511, ocaml/trunk/ocaml-4.08.0.patch)
Deleted:
  ocaml/repos/extra-x86_64/PKGBUILD
  ocaml/repos/extra-x86_64/ocaml-4.08.0.patch

--------------------+
 PKGBUILD           |  112 +++++++++++++++++++++++++--------------------------
 ocaml-4.08.0.patch |   26 +++++------
 2 files changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-27 15:40:52 UTC (rev 420511)
+++ PKGBUILD	2021-07-27 15:43:21 UTC (rev 420512)
@@ -1,56 +0,0 @@
-# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
-
-pkgbase='ocaml'
-pkgname=('ocaml' 'ocaml-compiler-libs')
-pkgver=4.11.1
-pkgrel=1
-pkgdesc="A functional language with OO extensions"
-arch=('x86_64')
-license=('LGPL2.1' 'custom: QPL-1.0')
-url="https://caml.inria.fr/"
-makedepends=('ncurses>=5.6-7')
-optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
-source=(https://caml.inria.fr/distrib/ocaml-${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha512sums=('ca34655dc22257aa48aeb48a9cf56bde177aa0f0e7f3965f334939934801a206ed5667b7ab0cc291df9e6bf1bb3251f7384f078ea5562e647fde93167ecb1e84')
-options=('!makeflags' '!emptydirs' 'staticlibs')
-
-
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix /usr --mandir /usr/share/man --disable-force-safe-string
-  make --debug=v world.opt
-}
-
-package_ocaml() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # Save >10MB with this one, makepkg only strips debug symbols.
-  #find "${pkgdir}/usr/lib" -type f -name '*.so.*' -exec strip --strip-unneeded {} \;
-
-  # install license
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
-
-  # remove compiler libs
-  rm -rf "${pkgdir}/usr/lib/ocaml/compiler-libs"
-}
-
-package_ocaml-compiler-libs() {
-pkgdesc="Several modules used internally by the OCaml compiler"
-license=('custom: QPL-1.0')
-depends=('ocaml')
-optdepends=()
-
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  # Remove non-compiler-libs
-  rm -rf   "${pkgdir}/usr/bin"  "${pkgdir}/usr/lib/ocaml/caml" \
-     "${pkgdir}/usr/lib/ocaml/ocamldoc" "${pkgdir}/usr/lib/ocaml/stublibs" \
-     "${pkgdir}/usr/lib/ocaml/threads" "${pkgdir}/usr/share"
-  find "${pkgdir}/usr/lib/ocaml/" -maxdepth 1 -type f -delete
-
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: ocaml/repos/extra-x86_64/PKGBUILD (from rev 420511, ocaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-27 15:43:21 UTC (rev 420512)
@@ -0,0 +1,56 @@
+# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
+
+pkgbase='ocaml'
+pkgname=('ocaml' 'ocaml-compiler-libs')
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="A functional language with OO extensions"
+arch=('x86_64')
+license=('LGPL2.1' 'custom: QPL-1.0')
+url="https://caml.inria.fr/"
+makedepends=('ncurses>=5.6-7')
+optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
+source=(https://caml.inria.fr/distrib/ocaml-${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha512sums=('fff347398300097e32dcdd0fabfa158693e3d27d4b0fef23a564be4993950be374e3e436205e621485f4188ab007e489c50b1294e1999dac36312e56ec5b52c9')
+options=('!makeflags' '!emptydirs' 'staticlibs')
+
+
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix /usr --mandir /usr/share/man --disable-force-safe-string
+  make --debug=v world.opt
+}
+
+package_ocaml() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # Save >10MB with this one, makepkg only strips debug symbols.
+  #find "${pkgdir}/usr/lib" -type f -name '*.so.*' -exec strip --strip-unneeded {} \;
+
+  # install license
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  # remove compiler libs
+  rm -rf "${pkgdir}/usr/lib/ocaml/compiler-libs"
+}
+
+package_ocaml-compiler-libs() {
+pkgdesc="Several modules used internally by the OCaml compiler"
+license=('custom: QPL-1.0')
+depends=('ocaml')
+optdepends=()
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  # Remove non-compiler-libs
+  rm -rf   "${pkgdir}/usr/bin"  "${pkgdir}/usr/lib/ocaml/caml" \
+     "${pkgdir}/usr/lib/ocaml/ocamldoc" "${pkgdir}/usr/lib/ocaml/stublibs" \
+     "${pkgdir}/usr/lib/ocaml/threads" "${pkgdir}/usr/share"
+  find "${pkgdir}/usr/lib/ocaml/" -maxdepth 1 -type f -delete
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Deleted: ocaml-4.08.0.patch
===================================================================
--- ocaml-4.08.0.patch	2021-07-27 15:40:52 UTC (rev 420511)
+++ ocaml-4.08.0.patch	2021-07-27 15:43:21 UTC (rev 420512)
@@ -1,13 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 2a9413a97..a0f7ac4b7 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1285,7 +1285,5 @@ SOURCE_FILES=$(shell git ls-files '*.ml' '*.mli' | grep -v boot/menhir/parser)
- 
- AST_FILES=$(addsuffix .ast,$(SOURCE_FILES))
- 
--build-all-asts: $(AST_FILES)
--
- CAMLC_DPARSETREE := \
-        $(CAMLRUN) ./ocamlc -nostdlib -nopervasives \
-          -stop-after parsing -dparsetree
\ No newline at end of file

Copied: ocaml/repos/extra-x86_64/ocaml-4.08.0.patch (from rev 420511, ocaml/trunk/ocaml-4.08.0.patch)
===================================================================
--- ocaml-4.08.0.patch	                        (rev 0)
+++ ocaml-4.08.0.patch	2021-07-27 15:43:21 UTC (rev 420512)
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 2a9413a97..a0f7ac4b7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1285,7 +1285,5 @@ SOURCE_FILES=$(shell git ls-files '*.ml' '*.mli' | grep -v boot/menhir/parser)
+ 
+ AST_FILES=$(addsuffix .ast,$(SOURCE_FILES))
+ 
+-build-all-asts: $(AST_FILES)
+-
+ CAMLC_DPARSETREE := \
+        $(CAMLRUN) ./ocamlc -nostdlib -nopervasives \
+          -stop-after parsing -dparsetree
\ No newline at end of file



More information about the arch-commits mailing list