summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95fc141ad0a11d9e1960b7287444ca9869eb5de8 (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
pkgname=element-call
pkgdesc="Group calls powered by Matrix"
url="https://github.com/element-hq/element-call"
license=("Apache-2.0")
arch=("any")
pkgver=0.6.3
pkgrel=1
makedepends=("yarn" "liburing" "git")
depends=()
source=("git+${url}#tag=v${pkgver}")
md5sums=('42aaee04f3c8eeddabe30139e88f264e')
provides=("element-call")
options=()
backup=()

function prepare() {
	cd element-call
	yarn
}

function build() {
	cd element-call
	yarn build
}

function package() {
	cd element-call
	install -d "${pkgdir}/usr/share/webapps/element-call"
	cp -r dist/* "${pkgdir}/usr/share/webapps/element-call"
}