aboutsummaryrefslogtreecommitdiffstats
path: root/community/riot-web/APKBUILD
blob: 1baf912d8355e03b8c1d6c323c28573ca4b6699d (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: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=riot-web
pkgver=0.14.1
pkgrel=0
pkgdesc="A glossy Matrix collaboration client for the web"
url="http://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="2121c8e7269ef7b83968e3c65fd9a905e8ffbd757c571cbf1e7238fbed18dbb23394192db27baf82a4f6d4042b9754b7a71b9c1a7bcf485e23f53850f6d2fa04  riot-v0.14.1.tar.gz"