[arch-commits] Commit in xtrabackup/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 6 20:33:40 UTC 2015


    Date: Sunday, December 6, 2015 @ 21:33:40
  Author: bpiotrowski
Revision: 149178

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  xtrabackup/repos/community-staging-i686/
  xtrabackup/repos/community-staging-i686/PKGBUILD
    (from rev 149177, xtrabackup/trunk/PKGBUILD)
  xtrabackup/repos/community-staging-x86_64/
  xtrabackup/repos/community-staging-x86_64/PKGBUILD
    (from rev 149177, xtrabackup/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: xtrabackup/repos/community-staging-i686/PKGBUILD (from rev 149177, xtrabackup/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 20:33:40 UTC (rev 149178)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=xtrabackup
+pkgver=2.3.2
+pkgrel=4
+pkgdesc='Non-blocking backup tool for MySQL'
+arch=('i686' 'x86_64')
+url='http://www.percona.com/software/percona-xtrabackup/'
+license=('GPL')
+depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql')
+makedepends=('cmake' 'python-sphinx' 'zlib' 'vim-minimal' 'libedit' 'libevent')
+optdepends=('qpress: for compressed backups')
+source=(http://www.percona.com/downloads/XtraBackup/LATEST/source/tarball/percona-xtrabackup-$pkgver.tar.gz)
+sha256sums=('5680500d513324b2e034969c5cf1b17790588cce628a31607d55a637b38c80e5')
+
+build() {
+  cd percona-xtrabackup-$pkgver
+  cmake -DBUILD_CONFIG=xtrabackup_release \
+        -DBUILD_TESTING=OFF \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DMYSQL_DATADIR=/var/lib/mysql \
+    		-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
+    		-DWITH_SSL=system \
+    		-DWITH_LIBEVENT=system \
+    		-DWITH_EDITLINE=system \
+        -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd percona-xtrabackup-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd  "$pkgdir"
+  rm -rf usr/xtrabackup-test
+  install -dm755 usr/share
+  mv build/$pkgname/src/percona-xtrabackup-$pkgver/man usr/share
+  rm -rf build
+}

Copied: xtrabackup/repos/community-staging-x86_64/PKGBUILD (from rev 149177, xtrabackup/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 20:33:40 UTC (rev 149178)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=xtrabackup
+pkgver=2.3.2
+pkgrel=4
+pkgdesc='Non-blocking backup tool for MySQL'
+arch=('i686' 'x86_64')
+url='http://www.percona.com/software/percona-xtrabackup/'
+license=('GPL')
+depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql')
+makedepends=('cmake' 'python-sphinx' 'zlib' 'vim-minimal' 'libedit' 'libevent')
+optdepends=('qpress: for compressed backups')
+source=(http://www.percona.com/downloads/XtraBackup/LATEST/source/tarball/percona-xtrabackup-$pkgver.tar.gz)
+sha256sums=('5680500d513324b2e034969c5cf1b17790588cce628a31607d55a637b38c80e5')
+
+build() {
+  cd percona-xtrabackup-$pkgver
+  cmake -DBUILD_CONFIG=xtrabackup_release \
+        -DBUILD_TESTING=OFF \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DMYSQL_DATADIR=/var/lib/mysql \
+    		-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
+    		-DWITH_SSL=system \
+    		-DWITH_LIBEVENT=system \
+    		-DWITH_EDITLINE=system \
+        -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd percona-xtrabackup-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd  "$pkgdir"
+  rm -rf usr/xtrabackup-test
+  install -dm755 usr/share
+  mv build/$pkgname/src/percona-xtrabackup-$pkgver/man usr/share
+  rm -rf build
+}



More information about the arch-commits mailing list