summaryrefslogtreecommitdiff
path: root/community/rsnapshot
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-15 11:36:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-15 11:36:24 -0300
commit7caeeae33fd491dbea5044168bbc50197963118c (patch)
tree2ceec96ef9e1897d921d05f2fc5c5dda2ad893e9 /community/rsnapshot
parent2f39e56def6dadf0746b6e96e756518f1af9396b (diff)
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ginac/PKGBUILD community/gnash/PKGBUILD community/haskell-tar/PKGBUILD community/libdlna/PKGBUILD community/mplayer2/PKGBUILD community/musescore/PKGBUILD community/open-vm-tools-modules/PKGBUILD community/paraview/PKGBUILD community/picard/PKGBUILD core/idnkit/PKGBUILD core/ifenslave/PKGBUILD extra/audacious/PKGBUILD extra/avidemux/PKGBUILD extra/ffmpeg/PKGBUILD extra/graphite/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/k3b/PKGBUILD extra/kdemultimedia/PKGBUILD extra/koffice/PKGBUILD extra/kradio/PKGBUILD extra/libreoffice/PKGBUILD extra/mediastreamer/PKGBUILD extra/poppler/PKGBUILD extra/vlc/PKGBUILD libre/texlive-bin-libre/PKGBUILD
Diffstat (limited to 'community/rsnapshot')
-rw-r--r--community/rsnapshot/PKGBUILD32
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')