summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84c360ba107f15481b20c5e174653bf33847938c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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.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
}