]>
Commit | Line | Data |
---|---|---|
c293a20c | 1 | # Contributor: sev <alpine@sev.monster> |
2 | # Maintainer: sev <alpine@sev.monster> | |
3 | pkgname=synapse-admin | |
4 | pkgver=0.8.5 | |
5 | pkgrel=0 | |
6 | pkgdesc="Admin UI for Matrix Synapse homeserver." | |
7 | url="https://github.com/Awesome-Technologies/synapse-admin" | |
8 | arch="all" | |
9 | license="Apache-2.0" | |
10 | makedepends="yarn" | |
11 | source="$pkgname-$pkgver.tar.gz::https://github.com/Awesome-Technologies/synapse-admin/archive/refs/tags/$pkgver.tar.gz" | |
12 | builddir="$srcdir/$pkgname-$pkgver" | |
13 | ||
14 | build() { | |
15 | cd "$builddir" || exit 1 | |
16 | yarn install | |
17 | yarn build | |
18 | } | |
19 | ||
20 | package() { | |
21 | cd "$builddir" || exit 1 | |
22 | mkdir -p "$pkgdir/usr/share/webapps" | |
23 | mv build "$pkgdir/usr/share/webapps/$pkgname" | |
24 | } | |
25 | ||
26 | sha512sums=" | |
27 | 9b89e28963698f84e8ce8dfc5b82cdca56dd8f1ccd89bc8f0115ebdc5212214e628b6a37f3dc4ccca73016cfaba10a8f416c4d1a5ee145e184c9579cdcaa70c8 synapse-admin-0.8.5.tar.gz | |
28 | " |