[arch-commits] Commit in rsync/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Sat Feb 11 14:55:34 EST 2012


    Date: Saturday, February 11, 2012 @ 14:55:33
  Author: ibiru
Revision: 149913

include rrscync

Modified:
  rsync/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-11 19:16:27 UTC (rev 149912)
+++ PKGBUILD	2012-02-11 19:55:33 UTC (rev 149913)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 pkgname=rsync
 pkgver=3.0.9
-pkgrel=1
+pkgrel=2
 pkgdesc="A file transfer program to keep remote files in sync"
 arch=('i686' 'x86_64')
 url="http://samba.anu.edu.au/rsync/"
@@ -13,7 +13,7 @@
 depends=('acl')
 backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
 changelog=ChangeLog
-source=(http://rsync.samba.org/ftp/rsync/${pkgname}-${pkgver}.tar.gz \
+source=(http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz \
         rsyncd.conf rsyncd rsync.xinetd)
 md5sums=('5ee72266fe2c1822333c407e1761b92b'
          '4395c0591638349b1a7aeaaa4da1f03a'
@@ -25,17 +25,18 @@
           'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
 
 build() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-	./prepare-source 
+	cd "$srcdir/$pkgname-$pkgver"
+	./prepare-source
 	./configure --prefix=/usr --with-included-popt \
-              --enable-acl-support --enable-xattr-support 
-	make 
+              --enable-acl-support --enable-xattr-support
+	make
 }
 
 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 
+	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 -Dm756 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
 }



More information about the arch-commits mailing list