pkgbase = postgresql
	pkgdesc = Sophisticated object-relational DBMS
	pkgver = 17.2
	pkgrel = 2
	url = https://www.postgresql.org/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = PostgreSQL
	makedepends = clang
	makedepends = docbook-xml
	makedepends = docbook-xsl
	makedepends = llvm
	makedepends = perl
	makedepends = perl-ipc-run
	makedepends = python
	makedepends = systemd
	makedepends = tcl
	makedepends = util-linux
	depends = bash
	depends = gcc-libs
	depends = glibc
	depends = icu
	depends = krb5
	depends = libldap
	depends = libxml2
	depends = libxslt
	depends = llvm-libs
	depends = lz4
	depends = openssl
	depends = pam
	depends = readline
	depends = systemd-libs
	depends = util-linux-libs
	depends = zlib
	depends = zstd
	source = https://ftp.postgresql.org/pub/source/v17.2/postgresql-17.2.tar.bz2
	source = 0001-Set-DEFAULT_PGSOCKET_DIR-to-run-postgresql.patch
	source = 0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch
	source = 0003-fix-regression-tests-tz.patch::https://github.com/postgres/postgres/commit/8108674f0e5639baebcf03b54b7ccf9e9a8662a2.patch
	source = postgresql-check-db-dir.in
	source = postgresql.logrotate
	source = postgresql.pam
	source = postgresql.service
	source = postgresql.sysusers
	source = postgresql.tmpfiles
	md5sums = 09113b33865a873443aca6feda634b0f
	md5sums = a5b05db6d869c74a2fc0d8f752618b1d
	md5sums = b74d848f5527740dce663ae72f39c5ae
	md5sums = 86f1ac3c8aab15dbcbfc2d677a25185a
	md5sums = 10123caec61006cbe316de8ab7a497bc
	md5sums = d28e443f9f65a5712c52018b84e27137
	md5sums = 96f82c38f3f540b53f3e5144900acf17
	md5sums = 026a3dbde1a0b2909120f0012237a33d
	md5sums = da6a0dda84638d0c3463abf4bc01e621
	md5sums = 9138244e0e6b98acc770931a4b150b86
	sha256sums = 82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
	sha256sums = 2c09429dca9caf540be647fdac9540eeccb68935994bb54cfd3f2108464916c7
	sha256sums = 0fb4915c06b9767933b27adc329e7319485e043fb9f17b1697b969779a00cf14
	sha256sums = 60557e29e9001fe1e82aa9c93301bdd6a93075b833518347f2b1cc16e021417c
	sha256sums = 94af93b53bf7772e6664c239523ef952ffc905a0de3c2c4b2dfc2fe8f3a2efed
	sha256sums = 6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e
	sha256sums = 57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5
	sha256sums = 5c23d7741bcd429d9552258decbcb1935febd671c237c1c99b9248dff4838eb8
	sha256sums = 3cfe36dd202af56b3ef8e6d6a746b24e6f46f0d9e0d3fa125dbfb5e598170afb
	sha256sums = ea771830c15b24c8725ded92e6a9ba9848b13f722357c5f5857dfeb21985d54c
	b2sums = 1afafbec5db26ab17f2410c40db38e30fc1413cd518d387bc01640232698407de97123d0c61e1ec4d32d1041055db874f04dd52ad3697f1b9993b1aff3c5156a
	b2sums = c924fd8f58a85d0ed073af7f9778467db6d106b8b66e011048c5148a6b7d02afe4d02451970bd08d351a7356abe7b9a8ea17e3bf1cce32f17977196215d49b5b
	b2sums = d98280e004adcb1ad85053d9bd202a2b4798df6e7a72b21cb263da6b282f42b5463ce77dcc4f0b1b39d3f55303d0f6869b23f2338ffcd98720b0550204adf85a
	b2sums = 41d7b41bd10fb17627e164a607a51240fa0a480a647917e110d85742cdd8f8dd4616a0cdd8f0898a3288fd9906a0ace6dcd60e3b6dcee75b5a9613103ab9d648
	b2sums = 682bfab1189221d82f6cce9bcb8c40c6d37ecacbcaf0568bbaa2706503b1f102e5476d0d110dcc6240ab62c5e7c2c20a5d9af8edd4038d212327f8866b1cf15a
	b2sums = 2209b7550acad7955102ec6922754b4046b2a2ad2a7e1cfb2cc4053c0705abac7aa7d7968eab617f50894797d06345f51c9a669926bd2a77dcf688206a2027e0
	b2sums = 3eab84d332d96678fe6e435ee243c8f1a82b838f601d61d3604d11e918aed7a62202edca5e476c4b9031ed284570e6fcd6c659cfdbd9624aa0019d3233755f81
	b2sums = 312c5c877809be46d8823b3a16db6410fb061a3fdc3558710e4921b72886fabe619a49e20a583b9a717771c72dfc8c3575c6e103becf8bb8b9e2d3cdaf6aa3c1
	b2sums = e025e78797879323bb78752dff8ea4eae984015240d273de8e83e1b7f7f7a8b9a549c33df6b72c40721f05a3df149fe065f9bb8c3fdf4f3b9f759963bb3da288
	b2sums = d66fcad8c00ed29cb50cf6721c89023787b42973c3bf50535c4f822a8870883557396b3ec5cc79465e75d0786246a523db69368b2a7feff40c3430c736999cca

pkgname = postgresql
	pkgdesc = Sophisticated object-relational DBMS
	install = postgresql.install
	depends = bash
	depends = gcc-libs
	depends = glibc
	depends = icu
	depends = krb5
	depends = libldap
	depends = libxml2
	depends = libxslt
	depends = llvm-libs
	depends = lz4
	depends = openssl
	depends = pam
	depends = readline
	depends = systemd-libs
	depends = util-linux-libs
	depends = zlib
	depends = zstd
	depends = postgresql-libs>=17.2
	optdepends = logrotate: rotates system logs automatically
	optdepends = perl: for PL/Perl support
	optdepends = postgresql-old-upgrade: upgrade from previous major version using pg_upgrade
	optdepends = python: for PL/Python 3 support
	optdepends = tcl: for PL/Tcl support
	options = staticlibs
	backup = etc/logrotate.d/postgresql
	backup = etc/pam.d/postgresql

pkgname = postgresql-libs
	pkgdesc = Libraries for use with PostgreSQL
	depends = glibc
	depends = krb5
	depends = libldap
	depends = lz4
	depends = openssl
	depends = readline
	depends = zlib
	depends = zstd
	provides = libecpg.so
	provides = libecpg_compat.so
	provides = libpgtypes.so
	provides = libpq.so
	provides = postgresql-client
	conflicts = postgresql-client

pkgname = postgresql-docs
	pkgdesc = HTML documentation for PostgreSQL
	depends = 
	options = docs
