
Untitled
By:
StMartin81 on
Sep 27th, 2011 | syntax:
Bash | size: 1.37 KB | hits: 90 | expires: Never
# Maintainer: Phoenix Lin < ihacker.phoenix@gmail.com >
pkgname=vuze
pkgver=4.7.0
pkgrel=1
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.'
arch=('i686' 'x86_64')
url='http://www.vuze.com/'
license=('GPL')
depends=('java-runtime')
optdepends=('xulrunner: needed for browsing the vuze content')
source=("http://cf1.vuze.com/files/Vuze_Installer.tar.bz2")
md5sums=('6797e922a255a80ff435f98b2b87a3a6')
[[ $CARCH == 'x86_64' ]] && source[0]="http://cf1.vuze.com/files/Vuze_Installer.tar.bz2" && md5sums[0]='6797e922a255a80ff435f98b2b87a3a6'
[[ $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'
package() {
install -d ${pkgdir}/usr/share
cp -r vuze ${pkgdir}/usr/share
install -Dm755 vuze/vuze ${pkgdir}/usr/bin/vuze
sed -i 's%#PROGRAM_DIR="/home/username/apps/azureus"%PROGRAM_DIR="/usr/share/vuze"%' ${pkgdir}/usr/bin/vuze
install -Dm644 vuze/vuze.png ${pkgdir}/usr/share/pixmaps/vuze.png
install -Dm644 vuze/vuze.desktop ${pkgdir}/usr/share/applications/vuze.desktop
rm ${pkgdir}/usr/share/vuze/swt.jar
install -Dm644 swt.jar ${pkgdir}/usr/share/vuze/swt.jar
}