[arch-commits] Commit in cargo-udeps/trunk (PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Fri Jan 21 00:30:23 UTC 2022


    Date: Friday, January 21, 2022 @ 00:30:23
  Author: orhun
Revision: 1111640

upgpkg: cargo-udeps 0.1.26-1: upstream release

Modified:
  cargo-udeps/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-21 00:30:12 UTC (rev 1111639)
+++ PKGBUILD	2022-01-21 00:30:23 UTC (rev 1111640)
@@ -3,24 +3,25 @@
 # Contributor: Vlad Frolov <frolvlad at gmail.com>
 
 pkgname=cargo-udeps
-pkgver=0.1.25
+pkgver=0.1.26
 pkgrel=1
 pkgdesc="Find unused dependencies in Cargo.toml"
 arch=('x86_64')
 url="https://github.com/est31/cargo-udeps"
 license=('MIT' 'Apache')
-depends=('curl')
-makedepends=('rust')
+depends=('curl' 'libgit2')
+makedepends=('cargo' 'libssh2')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('3b4cafb6798115042c57239b7f2ac36a398b0ae63945ebfe8732ebba1974f896')
+sha256sums=('93e73b9e288deddd3ad4c920d1fd65c206c747fa8b1fe6e8f241aec584cd23c0')
 
 prepare() {
   cd "$pkgname-$pkgver"
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
   cd "$pkgname-$pkgver"
+  export LIBSSH2_SYS_USE_PKG_CONFIG=1
   cargo build --release --frozen
 }
 



More information about the arch-commits mailing list