Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages /
cargo-deny
Commits:
c0e575f5 by George Hu at 2026-07-11T23:27:32+08:00
Remove vendored zstd
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -10,6 +10,7 @@ pkgbase = cargo-deny
depends = git
depends = glibc
depends = libgcc
+ depends = zstd
options = !lto
source =
cargo-deny-0.20.2::git+https://github.com/EmbarkStudios/cargo-deny.git#tag=0.20.2
source =
cargo-deny-advisory-db::git+https://github.com/rustsec/advisory-db
=====================================
PKGBUILD
=====================================
@@ -9,7 +9,7 @@ pkgdesc='Cargo plugin for linting your dependencies'
arch=('x86_64')
url='https://github.com/EmbarkStudios/cargo-deny'
license=('MIT' 'Apache-2.0')
-depends=('cargo' 'git' 'glibc' 'libgcc')
+depends=('cargo' 'git' 'glibc' 'libgcc' 'zstd')
options=(!lto)
source=("$pkgname-$pkgver::git+$url.git#tag=$pkgver"
"$pkgname-advisory-db::git+https://github.com/rustsec/advisory-db"
@@ -29,13 +29,13 @@ prepare() {
build() {
cd "$pkgname-$pkgver"
- cargo build --release --frozen
+ ZSTD_SYS_USE_PKG_CONFIG=1 cargo build --release --frozen
}
check() {
cd "$pkgname-$pkgver"
# https://github.com/EmbarkStudios/cargo-deny/issues/816
- CARGO_HOME=/build/.cargo cargo test --frozen
+ CARGO_HOME=/build/.cargo ZSTD_SYS_USE_PKG_CONFIG=1 cargo test --frozen
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-deny/-/commit/c0e575f5b8c86835161cb093f5ef4abc4adcfaed
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-deny/-/commit/c0e575f5b8c86835161cb093f5ef4abc4adcfaed
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