Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
cargo-public-api
Commits:
baf5182e by Caleb Maclennan at 2025-01-22T15:19:43+03:00
upgpkg: 0.42.0-2: Remove obsolete libgit2 dependency, add actual dependency on
curl
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,18 +1,18 @@
pkgbase = cargo-public-api
pkgdesc = List and diff the public API of Rust library crates
pkgver = 0.42.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cargo-public-api/cargo-public-api
arch = x86_64
license = MIT
makedepends = cargo
+ depends = curl
depends = gcc-libs
- depends = libgit2
options = !lto
source =
cargo-public-api-0.42.0.tar.gz::https://github.com/cargo-public-api/cargo-public-api/archive/v0.42.0.tar.gz
sha512sums =
37ad22b6bffe693110a4406dc37140ab8d2b0380e162b3ee784624463c7cab9794f57fdd281b991070c5a64f0d04219ed40e0ff74fb585163466cc975a68f559
pkgname = cargo-public-api
+ depends = curl
depends = gcc-libs
- depends = libgit2
depends = rustup
=====================================
PKGBUILD
=====================================
@@ -2,12 +2,12 @@
pkgname=cargo-public-api
pkgver=0.42.0
-pkgrel=1
+pkgrel=2
pkgdesc="List and diff the public API of Rust library crates"
arch=('x86_64')
url="https://github.com/cargo-public-api/cargo-public-api"
license=('MIT')
-depends=('gcc-libs' 'libgit2')
+depends=('curl' 'gcc-libs')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('37ad22b6bffe693110a4406dc37140ab8d2b0380e162b3ee784624463c7cab9794f57fdd281b991070c5a64f0d04219ed40e0ff74fb585163466cc975a68f559')
@@ -21,6 +21,7 @@ prepare() {
build() {
cd "$pkgname-$pkgver"
+ depends+=('libcurl.so')
cargo build --release --frozen
local compgen="target/release/$pkgname completions"
$compgen bash > "completions/$pkgname"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-public-api/-/commit/baf5182e213f03d532dc6ccf7146522d767d7a20
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-public-api/-/commit/baf5182e213f03d532dc6ccf7146522d767d7a20
You're receiving this email because of your account on gitlab.archlinux.org.