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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun Feb 2 18:07:14 UTC 2014


    Date: Sunday, February 2, 2014 @ 19:07:13
  Author: bpiotrowski
Revision: 105197

upgpkg: xtrabackup 2.1.7-2

generate and provide man pages

Modified:
  xtrabackup/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-02 17:02:19 UTC (rev 105196)
+++ PKGBUILD	2014-02-02 18:07:13 UTC (rev 105197)
@@ -3,13 +3,13 @@
 
 pkgname=xtrabackup
 pkgver=2.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc='Non-blocking backup tool for MySQL'
 arch=('i686' 'x86_64')
 url='http://www.percona.com/software/percona-xtrabackup/'
 license=('GPL')
 depends=('libaio' 'libgcrypt' 'openssl')
-makedepends=('cmake' 'ncurses' 'python2-distribute' 'python2-sphinx' 'zlib')
+makedepends=('cmake' 'python-sphinx' 'zlib')
 source=(http://percona.com/redir/downloads/XtraBackup/XtraBackup-$pkgver/source/percona-xtrabackup-$pkgver.tar.gz)
 md5sums=('cce4ad2e6e1481a98cd403563fd989dc')
 
@@ -16,6 +16,9 @@
 build() {
   cd percona-xtrabackup-$pkgver
   utils/build.sh innodb55
+
+  cd doc
+  make man
 }
 
 package() {
@@ -27,4 +30,9 @@
   install -D src/xbstream "$pkgdir"/usr/bin/xbstream
 
   ln -s /usr/bin/xtrabackup_55 "$pkgdir"/usr/bin/xtrabackup
+
+  cd doc/build/man
+  for file in *.1; do
+    install -Dm0644 $file "$pkgdir"/usr/share/man/man1/$file
+  done
 }




More information about the arch-commits mailing list