1 pkgname=vmware-vmrc-standalone
4 pkgdesc="standalone remote console for VMware Server"
6 url="http://www.vmware.com/products/server/"
9 install='vmware-vmrc-standalone.install'
10 source=('vmware-vmrc-standalone.desktop')
11 md5sums=('0eaf76ea521b787b2b601174e53f2def')
15 source=(${source[@]} 'VMware-server-2.0.2-203138.i386.tar.gz')
16 md5sums=(${md5sums[@]} '6eb844d1ab4aed6128438e5f587d10bb')
17 filename="vmware-vmrc-linux-x86.xpi";;
19 source=(${source[@]} 'VMware-server-2.0.2-203138.x86_64.tar.gz')
20 md5sums=(${md5sums[@]} 'cc7aef813008eeb7150c21547d431b39')
21 filename="vmware-vmrc-linux-x64.xpi";;
25 cd "$srcdir/vmware-server-distrib"
27 mkdir -p $pkgdir/usr/share/applications/ || return 1
28 install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/ || return 1
30 mkdir -p $srcdir/tmp || return 1
31 cp -a lib/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/$filename $srcdir/tmp || return 1
32 cd $srcdir/tmp || return 1
33 unzip -o $filename || return 1
34 mkdir -p $pkgdir/opt/$pkgname || return 1
35 cp -R $srcdir/tmp/plugins/* $pkgdir/opt/$pkgname || return 1
36 mkdir -p $pkgdir/usr/bin || return 1
37 ln -s /opt/vmware-vmrc-standalone/vmware-vmrc $pkgdir/usr/bin/$pkgname || return 1