mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
798 B
Bash
22 lines
798 B
Bash
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
|
|
# Contributor: Thorsten Tasch <tht@thorstentasch.de>
|
|
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
|
|
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')
|