# Generated by makepkg 6.1.0
# Wed May 13 21:14:52 UTC 2026
pkgbase = mingw-w64-ocaml
	pkgdesc = An industrial strength programming language supporting functional, imperative and object-oriented styles (mingw-w64)
	pkgver = 5.4.1
	pkgrel = 2
	url = https://ocaml.org/
	install = ocaml-UCRT64.install
	arch = any
	license = spdx:LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
	makedepends = mingw-w64-ucrt-x86_64-cc
	makedepends = mingw-w64-ucrt-x86_64-autotools
	makedepends = mingw-w64-ucrt-x86_64-ncurses
	makedepends = mingw-w64-ucrt-x86_64-zstd
	source = https://caml.inria.fr/distrib/ocaml-5.4/ocaml-5.4.1.tar.xz
	source = https://github.com/ocaml/flexdll/archive/0.44/flexdll-0.44.tar.gz
	source = 0001-fix-misc-h.patch
	sha256sums = b1e297adc186635540758eb064c7fab025598ae4436f3b9767e5025188b4e0ab
	sha256sums = b7c6a92286f1f3065324d51083dcb16eec436a4e6e3b8df7cf836b6d7a8b9491
	sha256sums = 24d20cc5fc9c0f70e5c54c2378f0be612ae474425dd5918b321469fb887eb358

pkgname = mingw-w64-ucrt-x86_64-ocaml
	depends = mingw-w64-ucrt-x86_64-zstd
	optdepends = mingw-w64-ucrt-x86_64-ncurses: advanced ncurses features
	optdepends = mingw-w64-ucrt-x86_64-tk: advanced tk features

pkgname = mingw-w64-ucrt-x86_64-ocaml-compiler-libs
	pkgdesc = Several modules used internally by the OCaml compiler (mingw-w64)
	license = spdx:QPL-1.0
	depends = mingw-w64-ucrt-x86_64-ocaml

pkgname = mingw-w64-ucrt-x86_64-flexdll-bootstrap
	pkgdesc = An implementation of a dlopen-like API for Windows (For bootstrapping) (mingw-w64)
	license = spdx:Zlib
