PKGBUILDs/community/librsync/PKGBUILD

26 lines
809 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net>
pkgname=librsync
pkgver=0.9.7
pkgrel=3.1
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)
md5sums=(24cdb6b78f45e0e83766903fd4f6bc84)
build() {
cd $startdir/src/$pkgname-$pkgver
if [ "$CARCH" = "x86_64" ]; then
./configure --prefix=/usr --with-pic
else ./configure --prefix=/usr
fi
make || return 1
make DESTDIR=$startdir/pkg/ install || return 1
}