]> git.sev.monster Git - aports.git/commitdiff
testing/synapse-admin: new aport
authorsev <git@sev.monster>
Tue, 5 Jul 2022 11:15:30 +0000 (06:15 -0500)
committersev <git@sev.monster>
Mon, 28 Oct 2024 23:02:23 +0000 (18:02 -0500)
testing/synapse-admin/APKBUILD [new file with mode: 0644]

diff --git a/testing/synapse-admin/APKBUILD b/testing/synapse-admin/APKBUILD
new file mode 100644 (file)
index 0000000..7b8bf33
--- /dev/null
@@ -0,0 +1,28 @@
+# Contributor: sev <alpine@sev.monster>
+# Maintainer: sev <alpine@sev.monster>
+pkgname=synapse-admin
+pkgver=0.8.5
+pkgrel=0
+pkgdesc="Admin UI for Matrix Synapse homeserver."
+url="https://github.com/Awesome-Technologies/synapse-admin"
+arch="all"
+license="Apache-2.0"
+makedepends="yarn"
+source="$pkgname-$pkgver.tar.gz::https://github.com/Awesome-Technologies/synapse-admin/archive/refs/tags/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+       cd "$builddir" || exit 1
+       yarn install
+       yarn build
+}
+
+package() {
+       cd "$builddir" || exit 1
+       mkdir -p "$pkgdir/usr/share/webapps"
+       mv build "$pkgdir/usr/share/webapps/$pkgname"
+}
+
+sha512sums="
+9b89e28963698f84e8ce8dfc5b82cdca56dd8f1ccd89bc8f0115ebdc5212214e628b6a37f3dc4ccca73016cfaba10a8f416c4d1a5ee145e184c9579cdcaa70c8  synapse-admin-0.8.5.tar.gz
+"
This page took 0.224819 seconds and 4 git commands to generate.