# Generated by makepkg 6.1.0
# Sun Jul 20 21:12:47 UTC 2025
pkgbase = mingw-w64-postgresql-16
	pkgdesc = Libraries for use with PostgreSQL (mingw-w64)
	pkgver = 16.9
	pkgrel = 2
	url = https://www.postgresql.org/
	arch = any
	license = spdx:PostgreSQL
	makedepends = mingw-w64-ucrt-x86_64-cc
	makedepends = mingw-w64-ucrt-x86_64-autotools
	makedepends = mingw-w64-ucrt-x86_64-gettext-tools
	makedepends = mingw-w64-ucrt-x86_64-libxslt
	makedepends = mingw-w64-ucrt-x86_64-python
	makedepends = mingw-w64-ucrt-x86_64-tcl
	makedepends = git
	depends = mingw-w64-ucrt-x86_64-gettext-runtime
	depends = mingw-w64-ucrt-x86_64-icu
	depends = mingw-w64-ucrt-x86_64-libxml2
	depends = mingw-w64-ucrt-x86_64-lz4
	depends = mingw-w64-ucrt-x86_64-openssl
	depends = mingw-w64-ucrt-x86_64-readline
	depends = mingw-w64-ucrt-x86_64-zlib
	depends = mingw-w64-ucrt-x86_64-zstd
	depends = winpty
	optdepends = mingw-w64-ucrt-x86_64-libxslt: XML plugin
	optdepends = mingw-w64-ucrt-x86_64-perl: for PL/Perl support
	optdepends = mingw-w64-ucrt-x86_64-python: for PL/Python support
	optdepends = mingw-w64-ucrt-x86_64-tcl: for PL/Tcl support
	source = https://ftp.postgresql.org/pub/source/v16.9/postgresql-16.9.tar.bz2
	source = git+https://github.com/Alexpux/pg_probackup#commit=911553be3d5b60e17c7ead9d099aa4e4cb655e25
	source = postgresql-12.0-mingw-link.patch
	source = postgresql-9.5.1-pl-perl.patch
	source = postgresql-9.5.1-pl-python.patch
	source = postgresql-9.4.1-pl-tcl.patch
	source = postgresql-9.4.1-mingw-enable-readline.patch
	source = postgresql-13.1-disable-wsa-invalid-event-static-assert.patch
	source = postgresql-13.1-pgevent-def.patch
	source = postgresql-14.0-use-mingw-setjmp-on-ucrt.patch
	source = postgresql-add-pgprobackup.patch
	sha256sums = 07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
	sha256sums = bdc0b4f495420955400cfa85aa4c32d1a1853ec5ae1b1f5cc8998087f8270bcc
	sha256sums = 54958a6116e401d13b2394c7b428a039d8a185bf2aaedf7b89e3ee203dc8f324
	sha256sums = 99e6c8b9d58a9615c7bb1e7471b8e9c074add7bffc7d2cf742bafa38e9654e1f
	sha256sums = ced0ccf978eefc1ad0641803c9759b652e588eb552ec9179cd9dfc9d94ecf499
	sha256sums = b12c4e493845b3ead8950bbc26b1cc7bd4fb0dc3313fea4f7b281866d18c0402
	sha256sums = cd52d56833c60afdce98d91eece73c11978762671e36be7bd9c31a1ea0a0282d
	sha256sums = 72c14a78eeafdd3c9a13c3e124b1941b5da090488c7bd73f08b3cd78bacd07d5
	sha256sums = 5941c74c6ab66d42d6ac6e7d5da358d44e479fd519bd4e025f08eba06bf30752
	sha256sums = fe336eac7892b23988189be0178efc95449d8d08493db83754058f5f37bb8ea9
	sha256sums = 5cd42ed05d21e309f1d591828bffc16e6acd8623b5ca59629e6cdb30c2a08318

pkgname = mingw-w64-ucrt-x86_64-postgresql-16

pkgname = mingw-w64-ucrt-x86_64-pg_probackup-16
	pkgdesc = Utility to manage backup and recovery of PostgreSQL database clusters (mingw-w64)
	url = https://github.com/postgrespro/pg_probackup/
	depends = mingw-w64-ucrt-x86_64-postgresql-16=16.9
