1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Rustam Tsurik <rustam.tsurik@gmail.com>
3 # Contributor: Nico Suarez <nicodoggie@gmail.com>
9 pkgdesc='write set replication (WSREP) provider for MariaDB cluster'
11 license=('GPL2' 'custom:OpenSSL Linking Exception')
12 depends=('mariadb' 'openssl')
13 makedepends=('boost' 'check' 'cmake')
14 optdepends=('rsync: State Snapshot Transfers with rsync'
15 'socat: State Snapshot Transfers with mariabackup')
16 url='https://galeracluster.com/'
18 validpgpkeys=('177F4010FE56CA3336300305F1656F24C74CD1D8') # MariaDB Signing Key <signing-key@mariadb.org>
19 source=("https://rsync.osuosl.org/pub/mariadb/mariadb-${_mariadb_ver}/galera-${pkgver}/src/galera-${pkgver}.tar.gz"{,.asc})
20 sha256sums=('9d3b569f84c7cd98ee5edef05f059482cb01c8e2e6d5b6d0cba7873691118a4b'
24 cd "${pkgname}-${pkgver}"
26 sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
30 cd "${pkgname}-${pkgver}"
37 cd "${pkgname}-${pkgver}"
39 install -D -m0755 libgalera_smm.so "${pkgdir}"/usr/lib/galera/libgalera_smm.so
40 ln -s galera/libgalera_smm.so "${pkgdir}"/usr/lib/libgalera_smm.so
42 install -D -m0755 garb/garbd "${pkgdir}"/usr/bin/garbd
44 install -D -m0644 scripts/packages/README "${pkgdir}"/usr/share/doc/galera/README
45 install -D -m0644 scripts/packages/README-MySQL "${pkgdir}"/usr/share/doc/galera/README-MySQL
46 install -D -m0644 scripts/mysql/README "${pkgdir}"/usr/share/doc/galera/mysql/README
47 install -D -m0644 COPYING "${pkgdir}"/usr/share/doc/galera/COPYING