aboutsummaryrefslogtreecommitdiffstats
path: root/community/riot-web/APKBUILD
blob: 9f628587d2dd02204c6694dfb4c7ae3bc461f6c2 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=riot-web
pkgver=1.5.13
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/riot-web/releases/download/v$pkgver/riot-v$pkgver.tar.gz"
builddir="$srcdir/riot-v$pkgver"

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="4e6e0c08e983ef33b897d1c4b6fda819c0ee21235bfa5a3448a100f3b336009a2206b99581c2c4a95eaae741e08329033a1c0b74b7452fd42edffd791a223845  riot-v1.5.13.tar.gz"