29 lines
797 B
Bash
29 lines
797 B
Bash
# Template file for 'conduit'
|
|
pkgname=conduit
|
|
version=0.7.0
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="clang pkg-config"
|
|
makedepends="libzstd-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=9ddb0ae91ad0399593bc7e8d1f63af3c42463589af2d61e108fe383ba05bf831
|
|
|
|
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
|
|
}
|