# Maintainer: Gordian Edenhofer pkgname=zoom pkgver=5.4.53268.1025 pkgrel=1 pkgdesc="Video Conferencing and Web Conferencing Service" arch=('x86_64') license=('custom') url="https://zoom.us/" depends=('fontconfig' 'glib2' 'libpulse' 'libsm' 'ttf-font' 'libx11' 'libxcb' 'libxcomposite' 'libxfixes' 'libxi' 'libxcursor' 'libxkbcommon-x11' 'libxrandr' 'libxrender' 'libxshmfence' 'libxslt' 'mesa' 'nss' 'xcb-util-image' 'xcb-util-keysyms') optdepends=('pulseaudio-alsa: audio via PulseAudio' 'qt5-webengine: SSO login support' 'picom: extra compositor needed by some window managers for screen sharing' 'xcompmgr: extra compositor needed by some window managers for screen sharing') options=(!strip) source=("${pkgname}-${pkgver}_orig_x86_64.pkg.tar.xz"::"https://zoom.us/client/${pkgver}/zoom_x86_64.pkg.tar.xz") sha512sums=('994a1bf3dfe307fb7dec99601a313a919360b34eb8431bcdaaac666f32f2cd086d33cde30fa314ccd6b44722ebb463e32a3f0b730e95eb326159a80217abf87c') prepare() { sed -i 's/Zoom\.png/Zoom/g' "${srcdir}/usr/share/applications/Zoom.desktop" sed -i 's/StartupWMClass=Zoom/StartupWMClass=zoom/g' "${srcdir}/usr/share/applications/Zoom.desktop" } package() { cp -dpr --no-preserve=ownership opt usr "${pkgdir}" }