mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
809 B
Bash
25 lines
809 B
Bash
# $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
|
|
}
|