New package: conduit-0.3.0
This commit is contained in:
parent
cb5327296b
commit
ef7fe3ed1a
3 changed files with 36 additions and 0 deletions
1
srcpkgs/conduit/files/conduit/log/run
Symbolic link
1
srcpkgs/conduit/files/conduit/log/run
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/bin/vlogger
|
6
srcpkgs/conduit/files/conduit/run
Normal file
6
srcpkgs/conduit/files/conduit/run
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
ulimit -n ${MAX_OPEN_FILES:-8192}
|
||||
export CONDUIT_CONFIG=${CONDUIT_CONFIG:-/etc/conduit/conduit.toml}
|
||||
|
||||
exec chpst -u _conduit:_conduit conduit
|
29
srcpkgs/conduit/template
Normal file
29
srcpkgs/conduit/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'conduit'
|
||||
pkgname=conduit
|
||||
version=0.3.0
|
||||
revision=1
|
||||
wrksrc="conduit-v${version}"
|
||||
build_style=cargo
|
||||
hostmakedepends="clang"
|
||||
short_desc="Simple, fast and reliable chat server powered by Matrix"
|
||||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://conduit.rs/"
|
||||
distfiles="https://gitlab.com/famedly/conduit/-/archive/v${version}/conduit-v${version}.tar.gz"
|
||||
checksum=9e750ed2b8d0e986b1cdc02278124b39c11fa785f2763914836978a5a79863e3
|
||||
|
||||
system_accounts="_conduit"
|
||||
_conduit_homedir="/var/lib/conduit"
|
||||
|
||||
make_dirs="/var/lib/conduit 0700 _conduit _conduit
|
||||
/etc/conduit 755 _conduit _conduit"
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vsconf conduit-example.toml conduit.toml
|
||||
vsv conduit
|
||||
}
|
Loading…
Reference in a new issue