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/'
17 options=('debug' '!libtool')
18 validpgpkeys=('199369E5404BD5FC7D2FE43BCBCB082A1BB943DB') # MariaDB Package Signing Key <package-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=('30fb940d5442b3a6d59832a1ad7898ef29cb23d012fc8f28bf8e51e219e38ad0'
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