diff options
Diffstat (limited to 'community/rsnapshot/PKGBUILD')
-rw-r--r-- | community/rsnapshot/PKGBUILD | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/community/rsnapshot/PKGBUILD b/community/rsnapshot/PKGBUILD index bca611d90..428c44b09 100644 --- a/community/rsnapshot/PKGBUILD +++ b/community/rsnapshot/PKGBUILD @@ -1,23 +1,35 @@ -# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org> +# $Id: PKGBUILD 58364 2011-11-12 11:47:00Z andrea $ +# Maintainer: +# Contributor: Geoffroy Carrier <geoffroy@archlinux.org> # Contributor: Thorsten Tasch <tht@thorstentasch.de> # Contributor: JJDaNiMoTh <jjdanimoth@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + pkgname=rsnapshot pkgver=1.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="A remote filesystem snapshot utility" arch=('i686' 'x86_64' 'mips64el') 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) +source=("http://www.rsnapshot.org/downloads/${pkgname}-${pkgver}.tar.gz" + 'rsnapshot') +md5sums=('588f92995dcf60a6ea6df8d94a017e7e' + '4cd16eaa51d58a652cffde945985e91c') + 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 + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man + sed -i 's:/usr/bin/pod2man:/usr/bin/core_perl/pod2man:' Makefile + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + mv ${pkgdir}/etc/rsnapshot.conf.default ${pkgdir}/etc/rsnapshot.conf install -Dm644 ${srcdir}/rsnapshot ${pkgdir}/etc/logrotate.d/rsnapshot } -md5sums=('588f92995dcf60a6ea6df8d94a017e7e' '4cd16eaa51d58a652cffde945985e91c') |