From: sev Date: Tue, 5 Jul 2022 11:15:30 +0000 (-0500) Subject: synapse-admin: new package X-Git-Url: https://git.sev.monster/aports.git/commitdiff_plain/c293a20c261e5bed0ccbea5c112ac13c05c79f5f?hp=197df74606c0691d49d635493c8e6ab063740b59 synapse-admin: new package --- 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 +"