blob: 282dc3d4d191f715d204229a94b58fa21a363b24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer (Arch): Rustam Tsurik <rustam.tsurik@gmail.com>
# Contributor (Arch): Nico Suarez <nicodoggie@gmail.com>
pkgname=galera
pkgver=25.3.2
pkgrel=1
pkgdesc='Galera WSREP provider'
arch=('i686' 'x86_64')
license=('GPL')
depends=('boost>=1.41' 'openssl')
makedepends=('check' 'scons' 'patch')
url='http://www.codership.com'
options=('!libtool')
source=(https://launchpad.net/galera/3.x/$pkgver/+download/galera-$pkgver-src.tar.gz)
sha256sums=('5dd54364720f8854088590bdfea1e3a7f3e37fda3dfe8a5f58ebcc987cc6788d')
build(){
cd "$srcdir"
cd "$pkgname-$pkgver-src"
scons
}
package(){
install -Dm0644 "$srcdir"/$pkgname-$pkgver-src/libgalera_smm.so "$pkgdir"/usr/lib/libgalera_smm.so
install -Dm0755 "$srcdir"/$pkgname-$pkgver-src/garb/garbd "$pkgdir"/usr/bin/garbd
install -Dm0644 "$srcdir"/$pkgname-$pkgver-src/scripts/packages/README "$pkgdir"/usr/share/doc/galera/README
install -m0644 "$srcdir"/$pkgname-$pkgver-src/scripts/packages/README-MySQL "$pkgdir"/usr/share/doc/galera/README-MySQL
install -m0644 "$srcdir"/$pkgname-$pkgver-src/COPYING "$pkgdir"/usr/share/doc/galera/COPYING
}
|