summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rsync/PKGBUILD
blob: c2c5e2c0df81829b5bb7af76a2b8290b912ff84d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 22959 2008-12-30 04:53:36Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=rsync
pkgver=3.0.5
pkgrel=1
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')
backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
source=(http://rsync.samba.org/ftp/rsync/${pkgname}-${pkgver}.tar.gz \
        rsyncd.conf rsyncd rsync.xinetd)
md5sums=('a130e736c011572cb423b6245e97fc4b' '4395c0591638349b1a7aeaaa4da1f03a'\
         '9de4d03d49f4b5c73ffd67d452716a49' 'ea3e9277dc908bc51f9eddc0f6b935c1')
sha1sums=('d95e75af9456b0edca68bde17260c98261b4b8c5'
          '48be09294134dfed888818872fe552a59c29147a'
          'ebec275bbd0c11692c91dc59368349601bd9eaf4'
          'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./prepare-source || return 1
  ./configure --prefix=/usr --with-included-popt \
              --enable-acl-support --enable-xattr-support || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -D -m 755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd || return 1
  install -D -m 644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf || return 1
  install -D -m 644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync || return 1
}