diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template index 0f5a42e012f..52856958cb7 100644 --- a/srcpkgs/rust/template +++ b/srcpkgs/rust/template @@ -1,23 +1,19 @@ # Template file for 'rust' pkgname=rust -version=1.0.0 +version=1.1.0 revision=1 wrksrc="rustc-${version/.beta/-beta}" lib32disabled=yes build_style=configure -only_for_archs="x86_64 i686" -configure_args="--prefix=/usr --disable-docs" +only_for_archs="x86_64 x86_64-musl i686 i686-musl" +configure_args="--prefix=/usr --disable-docs --build=$XBPS_TRIPLET" hostmakedepends="pkg-config curl python" short_desc="A safe, concurrent, practical systems language" maintainer="Juan RP " homepage="http://www.rust-lang.org/" license="MIT, Apache-2.0" distfiles="https://static.rust-lang.org/dist/rustc-${version/.beta/-beta}-src.tar.gz" -checksum=c304cbd4f7b25d116b73c249f66bdb5c9da8645855ce195a41bda5077b995eba - -if [ "$XBPS_MACHINE" = "x86_64" ]; then - configure_args+=" --build=$(gcc -dumpmachine)" -fi +checksum=cb09f443b37ec1b81fe73c04eb413f9f656859cf7d00bc5088008cbc2a63fa8a post_install() { vlicense COPYRIGHT