Package Details: conduwuit-git 0.4.0.3327.geb8dd9cb-1

Git Clone URL: https://aur.archlinux.org/conduwuit-git.git (read-only, click to copy)
Package Base: conduwuit-git
Description: a very cool, featureful fork of Conduit matrix server
Upstream URL: https://github.com/girlbossceo/conduwuit
Licenses: Apache-2.0
Provides: conduwuit
Submitter: bjo
Maintainer: VVL
Last Packager: VVL
Votes: 2
Popularity: 0.018880
First Submitted: 2024-03-20 20:13 (UTC)
Last Updated: 2024-05-23 13:27 (UTC)

Latest Comments

xiretza commented on 2024-04-27 11:15 (UTC)

Sure, I'll take it, I just discovered it's also broken in other ways.

bjo commented on 2024-04-27 10:34 (UTC)

Thanks for your patch, would you like to adopt the pkg?

xiretza commented on 2024-04-27 10:11 (UTC)

Hi, here's a patch that unbreaks the build and updates the build steps to the latest Rust package guidelines:

diff --git a/PKGBUILD b/PKGBUILD
index f041808..5948dd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
 # Contributor: Till Faelligen <tfaelligen at gmail dot com>
 pkgname='conduwuit-git'
 _pkgname='conduwuit'
-pkgver=0.7.0.2615.g7809f0a6
+epoch=1
+pkgver=0.3.0.3120.g341bafb9
 pkgrel=1
 arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
 url='https://github.com/girlbossceo/conduwuit'
@@ -20,10 +21,12 @@ backup=(
 sha256sums=(
   'SKIP'
 )
+options=(!lto) # breaks linking with vendored dependencies (ring, zstd, rocksdb)

 prepare() {
   cd "$_pkgname"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  export RUSTUP_TOOLCHAIN=stable
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }

 pkgver() {
@@ -50,5 +53,5 @@ package() {
   install -D -m755 target/release/conduit "$pkgdir/usr/bin/matrix-conduit"
   install -D -m0644 conduwuit-example.toml "$pkgdir/etc/matrix-conduit/conduit.toml"
   install -D -m0644 conduwuit-example.toml "$pkgdir/usr/share/doc/conduwuit/matrix-conduwuit.toml"
-  install -D -m0644 debian/matrix-conduit.service "$pkgdir/usr/lib/systemd/system/matrix-conduit.service"
+  install -D -m0644 debian/conduwuit.service "$pkgdir/usr/lib/systemd/system/conduwuit.service"
 }