summaryrefslogtreecommitdiff
path: root/pcr/galera/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-11 22:37:59 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-11 22:37:59 -0200
commit3c7070bfdd621de1776976c8ef2a241f7febe481 (patch)
treec3023fb5a97e0c151d5b05bcf7dee136507fadf5 /pcr/galera/PKGBUILD
parent81fbbf86edeb63cf5e75e32d2aadc604303cf62f (diff)
parent0dde92b25d275d9f94c74c9f07ad5b384426b788 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/galera/PKGBUILD')
-rw-r--r--pcr/galera/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/galera/PKGBUILD b/pcr/galera/PKGBUILD
new file mode 100644
index 000000000..b6ba8890c
--- /dev/null
+++ b/pcr/galera/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Rustam Tsurik <rustam.tsurik@gmail.com>
+# Contributor: 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
+}