updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / csync / PKGBUILD
blob57dacb69ed8d3b015e639a698c7cedf181292da1
1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
3 pkgname=csync
4 pkgver=0.44.0
5 pkgrel=2
6 pkgdesc="a file synchronizer especially designed for you, the normal user"
7 arch=("i686" "x86_64")
8 license=('GPL2')
9 url="http://www.csync.org"
10 depends=('log4c' 'sqlite3' 'iniparser')
11 makedepends=('cmake')
12 optdepends=('samba: smb support' 'libssh: sftp support')
13 source=("http://www.csync.org/files/$pkgname-$pkgver.tar.gz")
14 sha1sums=('43ac96260d580726006a4cf6878c0d3c536ff8cf')
16 build() {
17         cd $startdir/src/$pkgname-$pkgver
18         test -d build || mkdir build
19         cd build
20         cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. || return 1
21         make || return 1
22         make DESTDIR=$startdir/pkg install || return 1