New package: synapse-compress-state-0.1.4

This commit is contained in:
Joel Beckmeyer 2023-03-22 16:28:50 -04:00 committed by Duncan Overbruck
parent 65161e856e
commit b76d5fc8f4

View file

@ -0,0 +1,23 @@
# Template file for 'synapse-compress-state'
pkgname=synapse-compress-state
version=0.1.4
revision=1
build_style=cargo
configure_args="--workspace --exclude compressor_integration_tests"
hostmakedepends="pkg-config python3"
makedepends="openssl-devel python3"
short_desc="Tools to compress state in a synapse instance's database"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="Apache-2.0"
homepage="https://github.com/matrix-org/rust-synapse-compress-state"
distfiles="https://github.com/matrix-org/rust-synapse-compress-state/archive/refs/tags/v${version}.tar.gz"
checksum=a746e3ec531a370d140a1c3b03d28db107df484d507345db664d0b77256bbebb
do_install() {
cargo auditable install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--offline --locked --path .
cargo auditable install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--offline --locked --path synapse_auto_compressor
rm -f "${DESTDIR}"/usr/.crates.toml
rm -f "${DESTDIR}"/usr/.crates2.json
}