aboutsummaryrefslogtreecommitdiffstats
path: root/community/riot-web/APKBUILD
blob: c1dcf3991a69cc714d9f67a94a565c81bd1b3ded (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=riot-web
pkgver=1.9.6
pkgrel=0
pkgdesc="A glossy Matrix collaboration client for the web"
url="https://riot.im/"
arch="noarch"
options="!check"
license="Apache-2.0"
source="https://github.com/vector-im/element-web/releases/download/v$pkgver/element-v$pkgver.tar.gz"
builddir="$srcdir/element-v$pkgver"

# secfixes:
#   1.8.4-r0:
#     - CVE-2021-40823
#     - CVE-2021-40824

build() {
	return 0
}

package() {
	mkdir -p "$pkgdir"/usr/share/webapps \
		"$pkgdir"/etc/riot-web
	cp -r "$builddir" "$pkgdir"/usr/share/webapps/riot-web
	mv "$pkgdir"/usr/share/webapps/riot-web/config.sample.json \
		"$pkgdir"/etc/riot-web
	ln -sf /etc/riot-web/config.json \
		"$pkgdir"/usr/share/webapps/riot-web/config.json
}

sha512sums="
68a48c5be5b10b1eef75c66f23bcf750ef49897dd1e9fd6cf51e6f838849544dd292023d0b623695d2f806c166bfdd815ffdb69a8e63d3dd1d701f945a87ca2d  element-v1.9.6.tar.gz
"