Package Details: deadlock-modmanager-git 0.15.0.r39.g45c90ca-1

Git Clone URL: https://aur.archlinux.org/deadlock-modmanager-git.git (read-only, click to copy)
Package Base: deadlock-modmanager-git
Description: A mod manager for the Valve game Deadlock (git)
Upstream URL: https://github.com/deadlock-mod-manager/deadlock-mod-manager
Licenses: GPL-3.0-only
Conflicts: deadlock-modmanager, deadlock-modmanager-bin
Provides: deadlock-modmanager
Submitter: yobson
Maintainer: stormix
Last Packager: stormix
Votes: 0
Popularity: 0.000000
First Submitted: 2025-08-27 21:24 (UTC)
Last Updated: 2026-03-03 23:08 (UTC)

Latest Comments

HurricanePootis commented on 2026-06-03 01:37 (UTC)

Hello,

You can remove the options=(!lto) from this PKGBUILD by setting export CFLAGS+=" -ffat-lto-objects" & export CXXFLAGS+= -ffat-lto-objects. This is something that has to be done with Rust packages, but for some reason, is missing from the Wiki pagage on Rust Package Guidelines. Maybe I'll make an edit…

Another thing is, you don't need to specify -C linker-args=-fuse-ld=lld anymore. Ever since Rust 1.90, LLD is the default linker for Rust on Linux.

I built the package with my changes applied in a clean chroot (extra-x86-64-build -c) , and reading the binary, you can see LLD was used by default without specifying it nor installing the lld package (plus, you don't need to specify gcc since it's a part of base-devel). This is because rust automatically bundles its own version of LLD.

hurricane@TheCloutPC ~/deadlock-modmanager-git $ readelf -p .comment /usr/bin/deadlock-modmanager 

String dump of section '.comment':
  [     0]  GCC: (GNU) 16.1.1 20260430
  [    1c]  rustc version 1.96.0 (ac68faa20 2026-05-25) (Arch Linux rust 1:1.96.0-1)
  [    65]  Linker: LLD 22.1.6

This package is also missing glibc, libgcc, libstdc++, and dbus from depends().

diff --git a/PKGBUILD b/PKGBUILD
index a5f25c3..fc03877 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
 # Maintainer: stormix <hello@stormix.co>
 pkgname=deadlock-modmanager-git
-pkgver=0.15.0.r39.g45c90ca
+pkgver=1.0.0.r16.g2868189
 pkgrel=1
 pkgdesc='A mod manager for the Valve game Deadlock (git)'
 arch=('x86_64')
 url='https://github.com/deadlock-mod-manager/deadlock-mod-manager'
 license=('GPL-3.0-only')
-makedepends=('git' 'cargo' 'cargo-tauri' 'pnpm' 'lld' 'gcc')
+makedepends=('git' 'cargo' 'cargo-tauri' 'pnpm')
 depends=('webkit2gtk-4.1' 'cairo' 'desktop-file-utils' 'xdg-utils' 'gdk-pixbuf2'
          'glib2' 'gtk3' 'libsoup3' 'pango' 'openssl' 'bzip2' 'hicolor-icon-theme'
-         'gst-plugins-good')
+         'gst-plugins-good' 'glibc' 'libgcc' 'libstdc++' 'dbus')
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}" "${pkgname%-git}-bin")
-options=('!lto')
 source=("${pkgname}::git+https://github.com/deadlock-mod-manager/deadlock-mod-manager.git")
 sha256sums=('SKIP')

@@ -31,9 +30,10 @@ prepare() {
 }

 build() {
-    export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-fuse-ld=lld"
     export CC=gcc
     export CXX=g++
+    export CFLAGS+=" -ffat-lto-objects"
+    export CXXFLAGS+=" -ffat-lto-objects"
     export CARGO_TARGET_DIR=target
     export VITE_API_URL="https://api.deadlockmods.app"
     export VITE_WEB_URL="https://deadlockmods.app"

bunger commented on 2026-03-01 23:42 (UTC)

Binary seems to be outputted to apps/desktop/target/release/ instead of apps/desktop/src-tauri/target/release/; causes package() to fail