Jonathan Grotelüschen pushed to branch main at Arch Linux / Packaging / 
Packages / dprint


Commits:
fafd359a by DeepChirp at 2026-08-13T21:19:53+08:00
Remove bundled libraries

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -11,6 +11,7 @@ pkgbase = dprint
        depends = xz
        depends = libgcc
        depends = glibc
+       depends = zstd
        options = !lto
        source = git+https://github.com/dprint/dprint#tag=0.55.2
        sha256sums = 
95d40c564c9e5a940508d4260220662ddf17cb63d861911d7bd68ae4d6fbb3da


=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@ pkgdesc='Pluggable and configurable code formatting platform'
 arch=('x86_64')
 url='https://github.com/dprint/dprint'
 license=('MIT')
-depends=('bzip2' 'xz' 'libgcc' 'glibc')
+depends=('bzip2' 'xz' 'libgcc' 'glibc' 'zstd')
 makedepends=('cargo' 'git')
 options=('!lto') # interferes with compiling
 source=("git+$url#tag=$pkgver")
@@ -24,6 +24,7 @@ prepare() {
 build() {
        cd $pkgname
 
+       export ZSTD_SYS_USE_PKG_CONFIG=1
        export RUST_TOOLCHAIN=stable
        export CARGO_TARGET_DIR=target
        cargo build --release --frozen --all-features



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dprint/-/commit/fafd359a03b7ee925ebc38550b2289c914338c90

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dprint/-/commit/fafd359a03b7ee925ebc38550b2289c914338c90
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to