# Maintainer: Nemo # PRs are welcome at: https://github.com/captn3m0/aur-pop-bin pkgname=pop-bin pkgver=8.0.13 pkgrel=1 pkgdesc="Low latency videoconferencing & screen sharing with multiplayer drawing & control. Pop is a multiplayer screen sharing app that lets you work together like you’re in the same room." arch=('x86_64') url="https://pop.com" depends=('alsa-lib' 'atk' 'at-spi2-atk' 'at-spi2-core' 'cairo' 'dbus' 'desktop-file-utils' 'expat' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'hicolor-icon-theme' 'libcups' 'libnotify' 'libutil-linux' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango' 'xpra') optdepends=('apparmor' 'libgnome-keyring' 'pulseaudio' 'kde-cli-tools' 'trash-cli' 'xdg-utils' 'libappindicator-gtk3') license=('custom') options=('!strip' '!emptydirs') replaces=('screen-desktop-bin') conflicts=('screen-desktop-bin') source=("https://download.pop.com/desktop-app/linux/${pkgver}/pop_${pkgver}_amd64.deb") sha512sums=('0db200e8867d8b30b0734db046676389dbd47251a8e41856d7952587c3f0a46ebfdcf9c2d1c48dac80f1ee49d70bec4e5f6793f5fe52b69d1c7f75eeef66af3a') package(){ mkdir -p "${pkgdir}/opt/${pkgname}" tar xf data.tar.xz cp -r usr/lib/pop/* "${pkgdir}/opt/${pkgname}" install -dm755 "$pkgdir"/usr/bin ln -s /opt/"$pkgname"/Pop "$pkgdir/usr/bin/pop" install -D -m644 "usr/share/applications/pop.desktop" "${pkgdir}/usr/share/applications/pop.desktop" install -D -m644 "usr/share/pixmaps/pop.png" "${pkgdir}/usr/share/pixmaps/pop.png" install -D -m644 "usr/share/doc/pop/copyright" "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT" install -D -m644 "usr/lib/pop/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/chromium.LICENSE" }