29 lines
810 B
Bash
29 lines
810 B
Bash
# Template file for 'conduit'
|
|
pkgname=conduit
|
|
version=0.8.0
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="clang pkg-config"
|
|
makedepends="libzstd-devel sqlite-devel"
|
|
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=ecdff299cc2f777bb2c4cdc9b8d3b1ed642bc666ed20836904d36551d3095b5e
|
|
|
|
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
|
|
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
|
fi
|
|
|
|
post_install() {
|
|
vsconf conduit-example.toml conduit.toml
|
|
vsv conduit
|
|
}
|