blob: 35e921952025b127fa10bf4f8d50642a8c6c0719 (
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
|
# Maintainer: Kimiblock Moe
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.17.0
pkgrel=1
makedepends=("yarn-berry" "liburing" "git" "nodejs")
depends=()
source=("git+${url}#tag=v${pkgver}")
md5sums=('65673b27832549f8f33c5f6a495f2274')
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/element-call"
cp -r dist/* "${pkgdir}/usr/share/element-call"
ln -srf \
"${pkgdir}/usr/share/webapps/element-call" \
"${pkgdir}/usr/share/element-call"
}
|