Don't like ads? PRO users don't see any ads ;-)
Guest

csync PKGBUILD

By: a guest on Jul 30th, 2010  |  syntax: Bash  |  size: 0.72 KB  |  hits: 116  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
  2.  
  3. pkgname=csync
  4. pkgver=0.44.0
  5. pkgrel=1
  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')
  15.  
  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
  23. }