diff --git a/srcpkgs/ocaml/template b/srcpkgs/ocaml/template index 585bca3f1ca..3dc3de418f4 100644 --- a/srcpkgs/ocaml/template +++ b/srcpkgs/ocaml/template @@ -1,6 +1,6 @@ # Template file for 'ocaml' pkgname=ocaml -version=5.1.1 +version=5.2.0 revision=1 build_style="gnu-configure" configure_args="--with-pic --libdir=/usr/lib/ocaml" @@ -10,16 +10,10 @@ short_desc="Main implementation of the OCaml language" maintainer="Leah Neukirchen " license="QPL-1.0, LGPL-2.1-only" homepage="http://ocaml.org/" -distfiles="https://github.com/ocaml/ocaml/archive/${version}.tar.gz" -checksum=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17 +distfiles="https://github.com/ocaml/ocaml/archive/refs/tags/${version}.tar.gz" +checksum=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911 nocross=yes -case "$XBPS_TARGET_MACHINE" in - # native code platforms - x86_64*|aarch64*|riscv64*) make_build_target="world.opt";; - *) make_build_target="world";; -esac - export ASPP="cc -c" post_install() {