Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

seafile-client 1.8.0 PKGBUILD

By: a guest on Aug 19th, 2013  |  syntax: None  |  size: 1.17 KB  |  views: 47  |  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: localizator <localizator@ukr.net>
  2.  
  3. # Maintainer: Moritz Maxeiner <moritz@ucworks.org>
  4.  
  5. pkgname=seafile-client
  6. pkgver=1.8.0
  7. pkgrel=1
  8. pkgdesc="Seafile is an online file storage and collaboration tool. This is seafile client for synchronizing your local files with seafile server."
  9. arch=('i686' 'x86_64')
  10. url="https://github.com/haiwen/seafile/"
  11. license=('GPL')
  12. depends=('ccnet>=1.3.4' 'python2-mako' 'python2-simplejson' 'python2-webpy' 'gtk2' 'libnotify' 'hicolor-icon-theme' 'libevent' 'intltool')
  13. makedepends=()
  14. optdepends=()
  15. options=('!libtool' '!emptydirs')
  16. install=seafile-client.install
  17. source=("http://seafile.googlecode.com/files/seafile-${pkgver}.tar.gz"
  18.         "seafile-cli.patch")
  19. md5sums=('b527b1db8b3ee5d72794280f1307a717'
  20.          'af0159a4035bcdd61f42cbd16fdea901')
  21.  
  22. build ()
  23. {
  24.         cd "$srcdir/seafile-$pkgver"
  25.         patch -p1 -i "$srcdir/seafile-cli.patch"
  26.         ./configure --disable-server --enable-client --prefix=/usr PYTHON=/usr/bin/python2
  27.         make -j1
  28. }
  29.  
  30. package ()
  31. {
  32.         cd "$srcdir/seafile-$pkgver"
  33.         make DESTDIR="$pkgdir/" install
  34.  
  35.         install -D -m644 $srcdir/seafile-$pkgver/LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/LICENCE.txt
  36. }