1 # Maintainer: Dimitar Shopov <optimuss[at]gmail(dot)com>
6 pkgdesc='Bucardo is an asynchronous PostgreSQL replication system, allowing for both multi-master and multi-slave operations'
9 source=(http://www.bucardo.org/downloads/Bucardo-${pkgver}.tar.gz
10 http://www.bucardo.org/downloads/DBIx-Safe-1.2.5.tar.gz)
11 md5sums=('e74b526e9eb3ef7de936e720c4b2f222'
12 '738fd4e994e84bb5ca09908308e904c6')
13 depends=('perl-dbd-pg')
14 url='http://www.bucardo.org'
17 cd $srcdir/DBIx-Safe-1.2.5
20 cd $srcdir/Bucardo-$pkgver
26 cd $srcdir/DBIx-Safe-1.2.5
27 make DESTDIR=$pkgdir install
28 cd $srcdir/Bucardo-$pkgver
29 make DESTDIR=$pkgdir install
30 mv $pkgdir/usr/bin/site_perl/* $pkgdir/usr/bin
31 rm -rf $pkgdir/usr/bin/site_perl
32 mkdir -p $pkgdir/var/run/bucardo
33 mkdir -p $pkgdir/var/log/bucardo