blob: 73d6ee8972e498fcca32593d21dd003b2f4521bb (
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
|
pkgname=element-call-git
pkgdesc="Group calls powered by Matrix"
url="https://github.com/element-hq/element-call"
license=("Apache-2.0")
arch=("any")
pkgver=0.5.16.r71.gf701886a
pkgrel=1
makedepends=("yarn" "liburing")
depends=()
source=("git+${url}.git")
md5sums=("SKIP")
provides=("element-call")
conflicts=("element-call")
options=()
backup=()
function pkgver() {
cd element-call
git describe --long --tags --abbrev=8 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
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"
}
|