1 # Contributor: Tom Wizetek <tom@wizetek.com>
2 pkgname=vncviewer-enterprise
5 pkgdesc="RealVNC Enterprise Edition viewer"
6 url="http://www.realvnc.com/"
15 md5sums=('fda1dda25dd5c2c3b8394905c6313504'
16 'bae47b0403060b8655956d4cfdfb7c3c')
20 md5sums=('b9017ec209f30175cc2e52b7701498c3'
21 'bae47b0403060b8655956d4cfdfb7c3c')
24 error "Invalid \$CARCH=${CARCH}"
29 _pkgsrc=vnc-E4_5_4-${_pkgarch}_linux_viewer.gz
30 _pkgbin=vnc-E4_5_4_r41964-${_pkgarch}_linux_viewer
31 source=("${_pkgsrc}::http://www.realvnc.com/cgi-bin/download.cgi?product=enterprise4/vncviewer/x/${_pkgarch}_linux&filetype=gz&filever=${pkgver}&haveDetails=1&acceptLicense=1"
35 gunzip -c ${_pkgsrc} > ${_pkgbin}
36 install -D -m 755 ${srcdir}/${_pkgbin} ${pkgdir}/usr/bin/${_pkgbin}
37 install -D -m 644 ${srcdir}/realvnc_48x48.png ${pkgdir}/usr/share/pixmaps/realvnc_48x48.png
39 cat > ${pkgname}.desktop << EoF
42 Categories=Application;Network;
44 Exec=/usr/bin/${_pkgbin}
45 Icon=/usr/share/pixmaps/realvnc_48x48.png
46 Name=VNC Viewer Enterprise Edition for X
47 GenericName=Remote desktop client
48 Comment=Connect to VNC servers
51 install -D -m 644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop