sbcl 2.1.11 rebuild
[arch-packages.git] / galera / repos / extra-x86_64 / PKGBUILD
blobcc71804d2a3ba418584c6bf74a00c03c3a7b4023
1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Rustam Tsurik <rustam.tsurik@gmail.com>
3 # Contributor: Nico Suarez <nicodoggie@gmail.com>
5 pkgname=galera
6 pkgver=26.4.9
7 _mariadb_ver=10.6.4
8 pkgrel=1
9 pkgdesc='write set replication (WSREP) provider for MariaDB cluster'
10 arch=('x86_64')
11 license=('GPL2' 'custom:OpenSSL Linking Exception')
12 depends=('mariadb' 'openssl')
13 makedepends=('check' 'scons' 'boost')
14 optdepends=('rsync: State Snapshot Transfers with rsync'
15             'socat: State Snapshot Transfers with mariabackup')
16 url='https://galeracluster.com/'
17 options=('!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=('8d027efe5de2290235ac476194c2d529ff462a5fe15a8c58570a97aea204b2b1'
21             'SKIP')
23 prepare() {
24   cd "${pkgname}-${pkgver}"
26   sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
29 build(){
30   cd "${pkgname}-${pkgver}"
32   scons system_asio=0
35 package(){
36   cd "${pkgname}-${pkgver}"
38   install -D -m0755 libgalera_smm.so "${pkgdir}"/usr/lib/galera/libgalera_smm.so
39   ln -s galera/libgalera_smm.so "${pkgdir}"/usr/lib/libgalera_smm.so
41   install -D -m0755 garb/garbd "${pkgdir}"/usr/bin/garbd
43   install -D -m0644 scripts/packages/README "${pkgdir}"/usr/share/doc/galera/README
44   install -D -m0644 scripts/packages/README-MySQL "${pkgdir}"/usr/share/doc/galera/README-MySQL
45   install -D -m0644 scripts/mysql/README "${pkgdir}"/usr/share/doc/galera/mysql/README
46   install -D -m0644 COPYING "${pkgdir}"/usr/share/doc/galera/COPYING