1 # Maintainer: Viliam Pucik <viliam.pucik[at]gmail[dot]com>
6 pkgdesc="Online meeting client with desktop sharing support"
7 url="https://www.rooms.hp.com/"
10 [ "$CARCH" = "x86_64" ] && _arch=64
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')
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')
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: