[arch-commits] Commit in rsync/trunk (PKGBUILD)
Daniel Griffiths
dgriffiths at archlinux.org
Mon Apr 12 02:36:48 UTC 2010
Date: Sunday, April 11, 2010 @ 22:36:48
Author: dgriffiths
Revision: 77348
Adopted, move to splitpkg format
Modified:
rsync/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-12 02:35:16 UTC (rev 77347)
+++ PKGBUILD 2010-04-12 02:36:48 UTC (rev 77348)
@@ -1,6 +1,7 @@
# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=rsync
pkgver=3.0.7
@@ -19,13 +20,17 @@
'ebec275bbd0c11692c91dc59368349601bd9eaf4' 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./prepare-source || return 1
- ./configure --prefix=/usr --with-included-popt \
+ 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
+ make || return 1
}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+ install -Dm755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd || return 1
+ install -Dm644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf || return 1
+ install -Dm644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync || return 1
+}
More information about the arch-commits
mailing list