updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vuze / PKGBUILD
blob3e345dc05acf52f7827a5a2177664012f574fb64
1 # Maintainer: Phoenixlzx < phoenixlzx@xblue.tk >
3 pkgname=vuze
4 pkgver=4.7.0.2
5 pkgrel=2
6 pkgdesc='One of the most powerful bitTorrent client with GUI, written in Java.'
7 arch=('i686' 'x86_64')
8 url='http://www.vuze.com/'
9 license=('GPL')
10 depends=('java-runtime' 'swt')
11 optdepends=('xulrunner: needed for browsing the vuze content')
12 source=("http://sourceforge.net/projects/azureus/files/vuze/Vuze_4702/Vuze_4702_linux.tar.bz2/download")
13 md5sums=('5a8999882d416de2d70b2e37b9abb6e9')
14 [[ $CARCH == 'x86_64' ]] && source[0]="http://sourceforge.net/projects/azureus/files/vuze/Vuze_4702/Vuze_4702_linux-x86_64.tar.bz2/download" && md5sums[0]='c6230f17d383410476fc807c37a1daad'
16 package() {
17   install -d ${pkgdir}/usr/share
18   cp -r vuze ${pkgdir}/usr/share
20   install -Dm755 vuze/vuze ${pkgdir}/usr/bin/vuze
21   sed -i 's%#PROGRAM_DIR="/home/username/apps/azureus"%PROGRAM_DIR="/usr/share/vuze"%' ${pkgdir}/usr/bin/vuze
23   install -Dm644 vuze/vuze.png ${pkgdir}/usr/share/pixmaps/vuze.png
24   install -Dm644 vuze/vuze.desktop  ${pkgdir}/usr/share/applications/vuze.desktop