diff options
Diffstat (limited to 'community/rsnapshot/PKGBUILD')
-rw-r--r-- | community/rsnapshot/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/rsnapshot/PKGBUILD b/community/rsnapshot/PKGBUILD new file mode 100644 index 000000000..21cdc3ba6 --- /dev/null +++ b/community/rsnapshot/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org> +# Contributor: Thorsten Tasch <tht@thorstentasch.de> +# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com> +pkgname=rsnapshot +pkgver=1.3.1 +pkgrel=2 +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 rsnapshot) +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || 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 + install -Dm644 ${srcdir}/rsnapshot ${pkgdir}/etc/logrotate.d/rsnapshot +} +md5sums=('588f92995dcf60a6ea6df8d94a017e7e' '4cd16eaa51d58a652cffde945985e91c') |