From c293a20c261e5bed0ccbea5c112ac13c05c79f5f Mon Sep 17 00:00:00 2001 From: sev Date: Tue, 5 Jul 2022 06:15:30 -0500 Subject: [PATCH] synapse-admin: new package --- testing/synapse-admin/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/synapse-admin/APKBUILD 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 +" -- 2.46.2