37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
|
# Template file for 'synapse'
|
||
|
pkgname=synapse
|
||
|
version=0.99.3
|
||
|
revision=1
|
||
|
archs=noarch
|
||
|
build_style=python3-module
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
depends="python3-jsonschema python3-frozendict python3-canonicaljson
|
||
|
python3-signedjson python3-nacl python3-service_identity python3-Twisted
|
||
|
python3-openssl python3-yaml python3-pyasn1 python3-pyasn1-modules
|
||
|
python3-daemonize python3-bcrypt python3-Pillow python3-psutil
|
||
|
python3-msgpack python3-phonenumbers python3-prometheus_client<0.7.0
|
||
|
python3-attrs python3-netaddr python3-setuptools python3-bleach
|
||
|
python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
|
||
|
python3-txacme python3-macaroons python3-sortedcontainers"
|
||
|
short_desc="Matrix reference homeserver"
|
||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="https://github.com/matrix-org/synapse"
|
||
|
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
|
||
|
checksum=60a2b4caaed3e23a8fe9b43406dbee695d60271650f332cf3df3fce675a68274
|
||
|
|
||
|
conf_files="/etc/synapse/log_config.yaml"
|
||
|
|
||
|
system_accounts="synapse"
|
||
|
synapse_homedir="/var/lib/synapse"
|
||
|
|
||
|
make_dirs="
|
||
|
/var/lib/synapse 0700 synapse synapse
|
||
|
/etc/synapse 0755 synapse synapse"
|
||
|
|
||
|
post_install() {
|
||
|
vinstall contrib/systemd/log_config.yaml 644 etc/synapse
|
||
|
|
||
|
vsv synapse
|
||
|
}
|