parent
fe35e8e7a7
commit
6d5087bc58
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cargo'
|
# Template file for 'cargo'
|
||||||
pkgname=cargo
|
pkgname=cargo
|
||||||
version=0.31.1
|
version=0.32.0
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="rust python curl cmake pkg-config"
|
hostmakedepends="rust python curl cmake pkg-config"
|
||||||
makedepends="libcurl-devel libgit2-devel"
|
makedepends="libcurl-devel libgit2-devel"
|
||||||
|
@ -10,8 +10,8 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="MIT, Apache-2.0"
|
license="MIT, Apache-2.0"
|
||||||
homepage="https://crates.io/"
|
homepage="https://crates.io/"
|
||||||
distfiles="https://github.com/rust-lang/cargo/archive/${version}.tar.gz"
|
distfiles="https://github.com/rust-lang/cargo/archive/${version}.tar.gz"
|
||||||
checksum=d14462641610a56fd444200b02bb2547b663de3e63548990fba2e05435f4c096
|
checksum=c62e41489179a9b8e1ae0dbed379c278f9de805abba41608a05c069478a739fd
|
||||||
_cargo_dist_version=0.30.0
|
_cargo_dist_version=0.32.0
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" cargo"
|
hostmakedepends+=" cargo"
|
||||||
|
@ -20,21 +20,21 @@ else
|
||||||
case "$XBPS_MACHINE" in
|
case "$XBPS_MACHINE" in
|
||||||
x86_64-musl)
|
x86_64-musl)
|
||||||
distfiles+="
|
distfiles+="
|
||||||
https://alpha.de.repo.voidlinux.org/distfiles/cargo-0.31.0-x86_64-unknown-linux-musl-libressl-2.8.tar.gz"
|
https://alpha.de.repo.voidlinux.org/distfiles/cargo-${_cargo_dist_version}-x86_64-unknown-linux-musl.tar.xz"
|
||||||
checksum+="
|
checksum+="
|
||||||
61d72ac378f3ee592cd3c82b02518f717bfcf328946ad4a51d24a2dac546c1cb"
|
4dfb1cca7730b38920c04731be0e9d47ec520b3365059b4ccd9c0948346787ea"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
distfiles+="
|
distfiles+="
|
||||||
https://static.rust-lang.org/dist/cargo-${_cargo_dist_version}-x86_64-unknown-linux-gnu.tar.gz"
|
https://static.rust-lang.org/dist/cargo-${_cargo_dist_version}-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
checksum+="
|
checksum+="
|
||||||
32f210fd3142fda7825a06e95d1aa4b54035c2da435d8cf0dd03fad410c8002f"
|
c69aa6a7c5b6822e40c60852fee8656c4c335d3268234538adb8295fc4ff8ba6"
|
||||||
;;
|
;;
|
||||||
i686)
|
i686)
|
||||||
distfiles+="
|
distfiles+="
|
||||||
https://static.rust-lang.org/dist/cargo-${_cargo_dist_version}-i686-unknown-linux-gnu.tar.gz"
|
https://static.rust-lang.org/dist/cargo-${_cargo_dist_version}-i686-unknown-linux-gnu.tar.gz"
|
||||||
checksum+="
|
checksum+="
|
||||||
bc0f79a757601e0386e98bbbf870bf2a9f999d0085a9a2982d954833f8c519d5"
|
95f44961d57da328de67f996dc3fac8661812283eb9e57740cfdfec83cef50e8"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue