pkgbase = mariadb
	pkgdesc = Fast SQL database server, derived from MySQL
	pkgver = 11.5.2
	pkgrel = 1
	url = https://mariadb.org/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = GPL
	makedepends = git
	makedepends = boost
	makedepends = bzip2
	makedepends = cmake
	makedepends = cracklib
	makedepends = curl
	makedepends = jemalloc
	makedepends = judy
	makedepends = krb5
	makedepends = liburing
	makedepends = libxcrypt
	makedepends = libxml2
	makedepends = lz4
	makedepends = openssl
	makedepends = pcre2
	makedepends = systemd
	makedepends = zlib
	makedepends = zstd
	makedepends = xz
	source = mariadb::git+https://github.com/MariaDB/server.git#tag=mariadb-11.5.2?signed
	source = git+https://github.com/MariaDB/mariadb-connector-c.git
	source = git+https://github.com/facebook/rocksdb.git
	source = git+https://github.com/codership/wsrep-lib.git
	source = git+https://github.com/wolfSSL/wolfssl.git
	source = git+https://github.com/mariadb-corporation/libmarias3.git
	source = git+https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
	source = 0001-arch-specific.patch
	validpgpkeys = 177F4010FE56CA3336300305F1656F24C74CD1D8
	sha256sums = da69a53d27a52b64c15b5c665c2d48d7ed362ae51d01f32edd0b29f69b8f8e96
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = 966ddd4fa21068e6ab5b560d69f607aa9291790fb15c3be424c20962a26032f9

pkgname = mariadb-libs
	pkgdesc = MariaDB libraries
	depends = liburing
	depends = libxcrypt
	depends = libcrypt.so
	depends = openssl
	depends = pcre2
	depends = zlib
	depends = zstd
	optdepends = krb5: for gssapi authentication
	provides = libmariadbclient
	provides = mariadb-connector-c
	provides = libmariadb.so
	provides = libmariadbd.so
	conflicts = libmysqlclient
	conflicts = libmariadbclient
	conflicts = mariadb-connector-c
	replaces = libmariadbclient

pkgname = mariadb-clients
	pkgdesc = MariaDB client tools
	depends = mariadb-libs=11.5.2
	depends = jemalloc
	depends = ncurses
	provides = mysql-clients=11.5.2
	conflicts = mysql-clients

pkgname = mariadb
	pkgdesc = Fast SQL database server, derived from MySQL
	install = mariadb.install
	depends = mariadb-clients=11.5.2
	depends = bzip2
	depends = libxml2
	depends = lz4
	depends = systemd-libs
	depends = libxml2
	depends = zstd
	optdepends = cracklib: for cracklib plugin
	optdepends = curl: for ha_s3 plugin
	optdepends = galera: for MariaDB cluster with Galera WSREP
	optdepends = judy: for Open Query GRAPH (OQGraph) computation engine
	optdepends = perl-dbd-mariadb: for mariadb-hotcopy, mariadb-convert-table-format and mariadb-setpermission
	optdepends = python-mysqlclient: for myrocks_hotbackup
	optdepends = xz: lzma provider
	provides = mariadb-server=11.5.2
	provides = mysql=11.5.2
	conflicts = mysql
	options = emptydirs
	backup = etc/my.cnf
	backup = etc/my.cnf.d/client.cnf
	backup = etc/my.cnf.d/enable_encryption.preset
	backup = etc/my.cnf.d/mysql-clients.cnf
	backup = etc/my.cnf.d/provider_bzip2.cnf
	backup = etc/my.cnf.d/provider_lz4.cnf
	backup = etc/my.cnf.d/provider_lzma.cnf
	backup = etc/my.cnf.d/s3.cnf
	backup = etc/my.cnf.d/server.cnf
	backup = etc/my.cnf.d/spider.cnf
	backup = etc/security/user_map.conf

pkgname = mytop
	pkgdesc = Top clone for MariaDB
	depends = perl
	depends = perl-dbd-mariadb
	depends = perl-term-readkey
