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

PKGBUILD (drop2ftp-plasmoid)

By: a guest on Nov 3rd, 2010  |  syntax: Bash  |  size: 1.03 KB  |  views: 31  |  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: Fedor Suchkov <f.suchkov@gmail.com>
  2. # Contributor: Federico Quagliata <ntp@quaqo.org>
  3.  
  4. pkgname=drop2ftp-plasmoid
  5. pkgver=0.6
  6. pkgrel=2
  7. pkgdesc="This is a KDE 4 plasma applet which can copy files with every protocol which is supported by KIO. So you can use it to copy files to a FTP server or an folder on your PC for example."
  8. arch=('i686' 'x86_64')
  9. url="http://www.kde-look.org/content/show.php?content=97281"
  10. license=('GPL3')
  11. depends=('kdebase-workspace>=4.5')
  12. makedepends=('gcc' 'cmake' 'automoc4')
  13. source=(drop2ftp-qt47.patch "http://www.kde-look.org/CONTENT/content-files/97281-drop2ftp-$pkgver.tar.gz")
  14. sha256sums=('8634f66437347b36a5bbbba0f7dfb7f240fb393f99bf7a2c1b46a7436c0618b9'
  15.             '61f6a913e7ffff842cb1ebb1ba71b6515588cb597bce82f689556e64a954c77e')
  16.  
  17. build() {
  18.   cd "$srcdir/drop2ftp-$pkgver"
  19.   patch -p0 < ../drop2ftp-qt47.patch || return 1
  20.   mkdir build && cd build
  21.   cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
  22.   make || return 1
  23.   make DESTDIR="$pkgdir/" install || return 1
  24. }
clone this paste RAW Paste Data