# Maintainer: Geoffroy Carrier # Contributor: Thorsten Tasch # Contributor: JJDaNiMoTh pkgname=rsnapshot pkgver=1.3.1 pkgrel=1 pkgdesc="A remote filesystem snapshot utility" arch=('i686' 'x86_64') url="http://www.rsnapshot.org" license=('GPL') depends=('perl' 'rsync' 'openssh') backup=('etc/rsnapshot.conf') source=(http://www.rsnapshot.org/downloads/$pkgname-$pkgver.tar.gz) build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc || return 1 sed -i 's:/usr/bin/pod2man:/usr/bin/perlbin/core/pod2man:' Makefile make || return 1 make DESTDIR=$startdir/pkg install || return 1 mv "$pkgdir"/etc/rsnapshot.conf.default "$pkgdir"/etc/rsnapshot.conf } md5sums=('588f92995dcf60a6ea6df8d94a017e7e')