summaryrefslogtreecommitdiff
path: root/extra/rsync/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-08 19:39:26 +0000
committerroot <root@rshg054.dnsready.net>2012-06-08 19:39:26 +0000
commit63bd66056e59c02a988bf17876bd72e27bb4dc8b (patch)
tree9dc5a47228611569e90bbdf40b10943f0e5fc5aa /extra/rsync/PKGBUILD
parent8735a5c54cf26dd5b5b686850f800a4aed49ff78 (diff)
Fri Jun 8 19:39:26 UTC 2012
Diffstat (limited to 'extra/rsync/PKGBUILD')
-rw-r--r--extra/rsync/PKGBUILD37
1 files changed, 17 insertions, 20 deletions
diff --git a/extra/rsync/PKGBUILD b/extra/rsync/PKGBUILD
index 852af0156..122453775 100644
--- a/extra/rsync/PKGBUILD
+++ b/extra/rsync/PKGBUILD
@@ -1,42 +1,39 @@
-# $Id: PKGBUILD 149915 2012-02-11 20:09:00Z ibiru $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Eric Belanger <eric@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# $Id: PKGBUILD 160933 2012-06-07 05:56:33Z pierre $
+
pkgname=rsync
pkgver=3.0.9
-pkgrel=2
+pkgrel=3
pkgdesc="A file transfer program to keep remote files in sync"
arch=('i686' 'x86_64')
url="http://samba.anu.edu.au/rsync/"
license=('GPL3')
-depends=('acl')
+depends=('perl')
backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
-changelog=ChangeLog
-source=(http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz \
- rsyncd.conf rsyncd rsync.xinetd)
+source=("http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz"
+ 'rsyncd.conf' 'rsyncd' 'rsync.xinetd' 'rsyncd.service')
md5sums=('5ee72266fe2c1822333c407e1761b92b'
- '4395c0591638349b1a7aeaaa4da1f03a'
- '7a9ce3b5de97f3aae29b906f93e1d157'
- 'ea3e9277dc908bc51f9eddc0f6b935c1')
-sha1sums=('c64c8341984aea647506eb504496999fd968ddfc'
- '48be09294134dfed888818872fe552a59c29147a'
- 'eda623c31d9def454cf8e3e88dcf63de4ca5c08b'
- 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
+ 'bce64d122a8e0f86872a4a21a03bc7f3'
+ 'ba413da4ebca05c57860151fda21efbc'
+ 'ea3e9277dc908bc51f9eddc0f6b935c1'
+ 'ec96f9089d71109557cdcaa3f0633ed6')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./prepare-source
- ./configure --prefix=/usr --with-included-popt \
- --enable-acl-support --enable-xattr-support
+ ./configure --prefix=/usr --with-included-popt
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm755 ../rsyncd "$pkgdir/etc/rc.d/rsyncd"
install -Dm644 ../rsyncd.conf "$pkgdir/etc/rsyncd.conf"
install -Dm644 ../rsync.xinetd "$pkgdir/etc/xinetd.d/rsync"
+ install -Dm644 ../rsyncd.service "$pkgdir/usr/lib/systemd/system/rsyncd.service"
install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
}