# Generated by makepkg 6.1.0
# Mon May 11 08:35:41 UTC 2026
pkgbase = mingw-w64-opencc
	pkgdesc = Library for Open Chinese Convert (mingw-w64)
	pkgver = 1.3.1
	pkgrel = 1
	url = https://github.com/BYVoid/OpenCC
	arch = any
	license = spdx:Apache-2.0
	makedepends = mingw-w64-ucrt-x86_64-cc
	makedepends = mingw-w64-ucrt-x86_64-cmake
	makedepends = mingw-w64-ucrt-x86_64-ninja
	makedepends = mingw-w64-ucrt-x86_64-python
	makedepends = mingw-w64-ucrt-x86_64-rapidjson
	makedepends = mingw-w64-ucrt-x86_64-pybind11
	makedepends = mingw-w64-ucrt-x86_64-python-build
	makedepends = mingw-w64-ucrt-x86_64-python-installer
	depends = mingw-w64-ucrt-x86_64-cc-libs
	depends = mingw-w64-ucrt-x86_64-marisa
	optdepends = mingw-w64-ucrt-x86_64-python: Python bindings
	options = !strip
	source = https://github.com/BYVoid/OpenCC/archive/ver.1.3.1.tar.gz
	source = 0001-python-build.patch
	source = 0002-python-config.patch
	source = 0003-fix-cmake.patch
	sha256sums = 1cc663704ff15728d6ea41ced8cd9dcc086f7bd9a80e8531b2f8054d2f3b8733
	sha256sums = a58176f4e9d3d7c2b0674b65bbf72fa51740c74abdae7a8451955b69e6d2f415
	sha256sums = dff49620636ab670ade658e3db4878a34ddecb09e852317e29dad5f463a13a3f
	sha256sums = 8079c33e91952cdcfb662bc1eb427a8b9a01f995e98fdb36d1d00dff19cbb218

pkgname = mingw-w64-ucrt-x86_64-opencc
