You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.9 KiB

# Maintainer: Nemo <archlinux at captnemo dot in>
# PRs are welcome at: https://github.com/captn3m0/aur-pop-bin
pkgname=pop-bin
pkgver=5.0.15
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=('ad718b420548a484e889e5d6c3f03136d661518a110734d452c7c883160ec16a5ffce4c20c2bdd378be314bd413f8b1f0d5ed66accb1ccdadcf0de861e446067')
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"
}