From 526299574116d2fb21932caa468edb11d86a9739 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 5 Jan 2018 18:08:59 +0100 Subject: [PATCH] cargo: update to 0.24.0. --- srcpkgs/cargo/template | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 80506de33cc..6039b99bc18 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -1,6 +1,6 @@ # Template file for 'cargo' pkgname=cargo -version=0.23.0 +version=0.24.0 revision=1 _githash_installer=4f994850808a572e2cc8d43f968893c8e942e9bf hostmakedepends="rust python curl cmake pkg-config" @@ -10,10 +10,8 @@ short_desc="Rust package manager" maintainer="Leah Neukirchen " license="MIT, Apache-2.0" homepage="https://crates.io/" -distfiles="https://github.com/rust-lang/cargo/archive/${version}.tar.gz - https://github.com/rust-lang/rust-installer/archive/${_githash_installer}.tar.gz" -checksum="f4bbe2a8719dbb8da20842235093f7f70f034d01633189e83f75897d68cd274f - dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae" +distfiles="https://github.com/rust-lang/cargo/archive/${version}.tar.gz" +checksum=a9d4291254a1d622d3c3cb942aaa56ab4059b8d04915c3af234f0362f14722e8 nocross=yes case "$XBPS_MACHINE" in @@ -38,11 +36,8 @@ i686) esac post_extract() { - rm -rf src/rust-installer - mv ../rust-installer-${_githash_installer} src/rust-installer mkdir -p target/snapshot cp ../cargo-*/cargo/bin/cargo cargo - rm Cargo.lock # unlock rust-openssl 0.9.4 } do_build() { export LIBGIT2_SYS_USE_PKG_CONFIG=yes