[arch-commits] Commit in xtrabackup/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Feb 19 10:28:28 UTC 2015


    Date: Thursday, February 19, 2015 @ 11:28:28
  Author: mtorromeo
Revision: 127974

upgpkg: xtrabackup 2.2.9-1

Updated to 2.2.9

Modified:
  xtrabackup/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-19 09:40:41 UTC (rev 127973)
+++ PKGBUILD	2015-02-19 10:28:28 UTC (rev 127974)
@@ -3,7 +3,7 @@
 # Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=xtrabackup
-pkgver=2.2.8
+pkgver=2.2.9
 pkgrel=1
 pkgdesc='Non-blocking backup tool for MySQL'
 arch=('i686' 'x86_64')
@@ -12,24 +12,23 @@
 depends=('libaio' 'libgcrypt' 'openssl' 'perl-dbd-mysql')
 makedepends=('cmake' 'python-sphinx' 'zlib')
 source=(http://www.percona.com/downloads/XtraBackup/LATEST/source/tarball/percona-xtrabackup-$pkgver.tar.gz)
-sha256sums=('4b98d5ae65fe64ed3523da1831ac3c679cdf1b4d25033c16baa58ee12401818e')
+sha256sums=('d4a65c425262e55deeee3c0c4316a7acf861e2822c1321637ba5350dc68fc4af')
 
 build() {
   cd percona-xtrabackup-$pkgver
-  cmake -DBUILD_CONFIG=xtrabackup_release -DCMAKE_INSTALL_PREFIX=/usr
+  cmake -DBUILD_CONFIG=xtrabackup_release \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr
   make
-
-  cd storage/innobase/xtrabackup/doc
-  make man
 }
 
 package() {
   cd percona-xtrabackup-$pkgver
-  make PREFIX=/usr DESTDIR="$pkgdir" install
-  rm -rf "$pkgdir"/usr/xtrabackup-test
+  make DESTDIR="$pkgdir" install
 
-  cd storage/innobase/xtrabackup/doc/build/man
-  for file in *.1; do
-    install -Dm0644 $file "$pkgdir"/usr/share/man/man1/$file
-  done
+  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