cargo: update to 0.24.0.

This commit is contained in:
Leah Neukirchen 2018-01-05 18:08:59 +01:00
parent d27e3375f2
commit 5262995741

View file

@ -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 <leah@vuxu.org>"
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