From: sev Date: Tue, 5 Jul 2022 11:15:30 +0000 (-0500) Subject: testing/synapse-admin: new aport X-Git-Url: https://git.sev.monster/aports.git/commitdiff_plain/a336cbc842f8e0b463dd415df54dc8d358795c6b?ds=inline testing/synapse-admin: new aport --- diff --git a/testing/synapse-admin/APKBUILD b/testing/synapse-admin/APKBUILD new file mode 100644 index 0000000..7b8bf33 --- /dev/null +++ b/testing/synapse-admin/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: sev +# Maintainer: sev +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 +"