diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2a4022e20b5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Nicolas Stalder <n+archlinux@stalder.io> +# +# 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.3.59 +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-0.3.59.pacman" + "jamm-0.3.59.pacman::https://jamm.app/api/download/pacman?channel=alpha" +) +sha256sums=( + "a0b9999ce9385844b93d841a787e7b80f2166b03fcf38f858eab4e3383d929c5" +) + +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 + echo +} |