# Maintainer: Nicolas Stalder # # Note that the upstream package creates the /usr/bin/jamm # symlink in post_install, and hence does not remove it properly # when it gets removed due to our conflicts entry. pkgname=jamm-bin pkgver=0.6.1 pkgrel=1 pkgdesc="Jamm is a lightweight video collaboration app for remote teams" arch=("x86_64") url="https://jamm.app/download" license=("custom") makedepends=("wget") depends=( "c-ares" ffmpeg gtk3 http-parser libevent libvpx libxslt libxss minizip nss re2 snappy libnotify "libappindicator-gtk3" ) provides=("jamm") conflicts=("jamm") DLAGENTS=("https::/usr/bin/wget --content-disposition %u") source=( # -> "https://graffiti-app-one-tusk.s3-us-west-1.amazonaws.com/alpha/jamm-${pkgver}.pacman" "jamm-${pkgver}.pacman::https://jamm.app/api/download/pacman?channel=alpha" ) sha256sums=( "b7955b2f24d6388cd8a1a275fb4d83b9b15ebef3278dba217403b954f72386bd" ) prepare() { # SUID chrome-sandbox for Electron 5+ chmod 4755 $srcdir/opt/Jamm/chrome-sandbox } package() { cp -a $srcdir/opt $pkgdir cp -a $srcdir/usr $pkgdir mkdir $pkgdir/usr/bin ln -s /opt/Jamm/jamm $pkgdir/usr/bin/jamm }