updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / hpvirtualrooms / PKGBUILD
blob186a292dd48a5360496853526d9ca48dbab237c0
1 # Maintainer: Viliam Pucik <viliam.pucik[at]gmail[dot]com>
2 pkgname=hpvirtualrooms
3 pkgver=8.0.0.68
4 _pkgver=3868
5 pkgrel=1
6 pkgdesc="Online meeting client with desktop sharing support"
7 url="https://www.rooms.hp.com/"
8 arch=('x86_64' 'i686')
9 _arch=26
10 [ "$CARCH" = "x86_64" ] && _arch=64
11 license=('unknown')
12 depends=('fontconfig' 'alsa-lib' 'mesa' 'glib2' 'libxi' 'libpng12' 'libxrandr')
13 [ "$CARCH" = "x86_64" ] && depends=('lib32-fontconfig' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-glib2' 'lib32-libxi' 'lib32-libpng12' 'lib32-libxrandr')
14 makedepends=('sed')
15 source=("https://www.rooms.hp.com/vRoom_Cab/${pkgname}-install${_arch}-${_pkgver}.tar.gz" "${pkgname}")
16 md5sums=('ef8d797ff5f5937c2df45e53d7e16a9c' '5cbe25942bc5b657da9ab32bbcfa085c')
17 [ "$CARCH" = "x86_64" ] && md5sums=('98eecdd81e90f47f7c4228fc2619f060' '5cbe25942bc5b657da9ab32bbcfa085c')
19 package() {
20   cd "${srcdir}"
21   install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
23   cd "${srcdir}/${pkgname}-install"
24   sed -i 's/\.hpvirtualrooms\///;/^Encoding/d' HP-hpvr.desktop
25   echo "Icon=/usr/share/${pkgname}/resources/hpvricon.png" >> HP-hpvr.desktop
26   mkdir -p "${pkgdir}/usr/share/${pkgname}/resources/"
27   install -m755 ${pkgname}            "${pkgdir}/usr/share/${pkgname}/${pkgname}"
28   install -m644 resources/*           "${pkgdir}/usr/share/${pkgname}/resources/"
29   install -Dm755 ${pkgname}-plugin.so "${pkgdir}/usr/lib/mozilla/plugins/${pkgname}-plugin.so"
30   install -Dm644 HP-hpvr.desktop      "${pkgdir}/usr/share/applications/${pkgname}.desktop"
33 # vim:set ts=2 sw=2 et: