diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-03 03:28:00 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-03 03:28:00 +0000 |
commit | 5646de4a9273897b8a619641ed988c4bb217a509 (patch) | |
tree | 9f4c0ca7e9066f8eb5f065eb7102d06d923470b2 /community/xtrabackup | |
parent | 171120794a952c6e0e75aef6ecdf46cd6d5154c8 (diff) |
Mon Feb 3 03:26:00 UTC 2014
Diffstat (limited to 'community/xtrabackup')
-rw-r--r-- | community/xtrabackup/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/xtrabackup/PKGBUILD b/community/xtrabackup/PKGBUILD new file mode 100644 index 000000000..1cba22af7 --- /dev/null +++ b/community/xtrabackup/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> + +pkgname=xtrabackup +pkgver=2.1.7 +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' 'python-sphinx' 'zlib') +source=(http://percona.com/redir/downloads/XtraBackup/XtraBackup-$pkgver/source/percona-xtrabackup-$pkgver.tar.gz) +md5sums=('cce4ad2e6e1481a98cd403563fd989dc') + +build() { + cd percona-xtrabackup-$pkgver + utils/build.sh innodb55 + + cd doc + make man +} + +package() { + cd percona-xtrabackup-$pkgver + + install -D innobackupex "$pkgdir"/usr/bin/innobackupex + install -D src/xtrabackup_innodb55 "$pkgdir"/usr/bin/xtrabackup_55 + install -D src/xbcrypt "$pkgdir"/usr/bin/xbcrypt + 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 +} |