From 834c3a28e9958117d668fcafb17586cd98a0e2df Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 22 Mar 2023 16:28:50 -0400 Subject: [PATCH] New package: synapse-compress-state-0.1.4 --- srcpkgs/synapse-compress-state/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/synapse-compress-state/template diff --git a/srcpkgs/synapse-compress-state/template b/srcpkgs/synapse-compress-state/template new file mode 100644 index 00000000000000..36bd434a3477e5 --- /dev/null +++ b/srcpkgs/synapse-compress-state/template @@ -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 " +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 +}