From 1de91493ceb792c18daf535d59e2ac8ad0db2430 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 29 Jun 2015 11:53:15 +0200 Subject: [PATCH] cargo: update to 0.3.0. --- srcpkgs/cargo/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 528aa87c972..7e505268bc2 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -1,8 +1,8 @@ # Template file for 'cargo' pkgname=cargo -version=0.2.0 +version=0.3.0 revision=1 -_githash_installer=ebc6b04c29591108d3f28e724b4b9b74cd1232e6 +_githash_installer=e54d4823d26cdb3f98e5a1b17e1c257cd329aa61 build_style=gnu-configure hostmakedepends="rust python curl cmake pkg-config" makedepends="libressl-devel zlib-devel" @@ -13,18 +13,18 @@ license="MIT, Apache-2.0" homepage="https://crates.io/" distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz https://github.com/rust-lang/rust-installer/archive/${_githash_installer}.tar.gz" -checksum="49294406ea9335d2f18082511eafcd6b6326fa595be090cc6bfa13c9deab45d9 - a6f119be6105b911131eb89e6919dfa08fa849e6f5bc46ced24adc2075d39b71" +checksum="fb49062c5f8646a05b363395237d4399d3b693b89b849a197b1e8e02072dbd49 + af21c4519cf8099d79e80b73af513dd92d5da490e0c2497639cb1221072ea282" nocross=yes -pre_configure() { - configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}" -} post_extract() { rm -rf src/rust-installer mv ../rust-installer-${_githash_installer} src/rust-installer } - +pre_configure() { + configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}" + sed -i '/not recognized/s/err/warn/' configure +} post_install() { rm -rf ${DESTDIR}/usr/lib/rustlib ${DESTDIR}/usr/share/doc/cargo vlicense LICENSE-APACHE