From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/librsync/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 community/librsync/PKGBUILD (limited to 'community/librsync/PKGBUILD') diff --git a/community/librsync/PKGBUILD b/community/librsync/PKGBUILD new file mode 100644 index 000000000..d0fd33cf3 --- /dev/null +++ b/community/librsync/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 11387 2010-02-10 04:50:34Z foutrelis $ +# Maintainer: Evangelos Foutras +# Contributor: Alessio 'mOLOk' Bolognino +# Contributor: Christoph 'delmonico' Neuroth + +pkgname=librsync +pkgver=0.9.7 +pkgrel=5 +pkgdesc="A free software library that implements the rsync remote-delta algorithm (rdiff)" +arch=('i686' 'x86_64') +url="http://librsync.sourceforge.net/" +license=('GPL') +depends=('popt' 'zlib' 'bzip2') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/librsync/$pkgname-$pkgver.tar.gz + lfs-overflow.patch) +md5sums=('24cdb6b78f45e0e83766903fd4f6bc84' + 'e18536482c0a32e7004c46eac6a53b2d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Patch for large files (https://bugzilla.redhat.com/show_bug.cgi?id=207940) + patch -Np1 -i "$srcdir/lfs-overflow.patch" || return 1 + + ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install || return 1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf