29 lines
810 B
Bash
29 lines
810 B
Bash
# Template file for 'conduit'
|
|
pkgname=conduit
|
|
version=0.9.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=572c1a5bc28b01af06d4719f97e7bdc32bc709668979d6289e1160c3c671fd00
|
|
|
|
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
|
|
}
|