Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: StMartin81 on Sep 27th, 2011  |  syntax: Bash  |  size: 1.37 KB  |  hits: 92  |  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. # Maintainer: Phoenix Lin < ihacker.phoenix@gmail.com >
  2.  
  3. pkgname=vuze
  4. pkgver=4.7.0
  5. pkgrel=1
  6. pkgdesc='One of the most powerful bitTorrent client with GUI in the world, written in Java. ATTENTION:This is the official version(both x86 & x64),I will update to Sourceforge version later.'
  7. arch=('i686' 'x86_64')
  8. url='http://www.vuze.com/'
  9. license=('GPL')
  10. depends=('java-runtime')
  11. optdepends=('xulrunner: needed for browsing the vuze content')
  12. source=("http://cf1.vuze.com/files/Vuze_Installer.tar.bz2")
  13. md5sums=('6797e922a255a80ff435f98b2b87a3a6')
  14. [[ $CARCH == 'x86_64' ]] && source[0]="http://cf1.vuze.com/files/Vuze_Installer.tar.bz2" && md5sums[0]='6797e922a255a80ff435f98b2b87a3a6'
  15. [[ $CARCH == 'i686' ]] && source[1]="http://ftp.halifax.rwth-aachen.de/eclipse//eclipse/downloads/drops/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86.zip" && md5sums[1]='b7d6d24e2feb7489b0baa0ce941ea4d2'
  16.  
  17. package() {
  18.   install -d ${pkgdir}/usr/share
  19.   cp -r vuze ${pkgdir}/usr/share
  20.  
  21.   install -Dm755 vuze/vuze ${pkgdir}/usr/bin/vuze
  22.   sed -i 's%#PROGRAM_DIR="/home/username/apps/azureus"%PROGRAM_DIR="/usr/share/vuze"%' ${pkgdir}/usr/bin/vuze
  23.  
  24.   install -Dm644 vuze/vuze.png ${pkgdir}/usr/share/pixmaps/vuze.png
  25.   install -Dm644 vuze/vuze.desktop  ${pkgdir}/usr/share/applications/vuze.desktop
  26.  
  27.   rm ${pkgdir}/usr/share/vuze/swt.jar
  28.   install -Dm644 swt.jar ${pkgdir}/usr/share/vuze/swt.jar
  29. }
  30.  
  31.  
  32.