mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
cargo: update to 0.25.0.
This commit is contained in:
parent
7c43490ca2
commit
b599a12762
1 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cargo'
|
# Template file for 'cargo'
|
||||||
pkgname=cargo
|
pkgname=cargo
|
||||||
version=0.24.0
|
version=0.25.0
|
||||||
revision=1
|
revision=1
|
||||||
_githash_installer=4f994850808a572e2cc8d43f968893c8e942e9bf
|
_githash_installer=4f994850808a572e2cc8d43f968893c8e942e9bf
|
||||||
hostmakedepends="rust python curl cmake pkg-config"
|
hostmakedepends="rust python curl cmake pkg-config"
|
||||||
|
@ -11,15 +11,15 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
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=a9d4291254a1d622d3c3cb942aaa56ab4059b8d04915c3af234f0362f14722e8
|
checksum=e826fc9c2c97a46c2da24f71b54dc6acef16e4fa5dc15667d278f9a7e5edbe60
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
case "$XBPS_MACHINE" in
|
||||||
x86_64-musl)
|
x86_64-musl)
|
||||||
distfiles+="
|
distfiles+="
|
||||||
https://repo.voidlinux.eu/distfiles/cargo-0.18.0-x86_64-unknown-linux-musl.tar.gz"
|
https://repo.voidlinux.eu/distfiles/cargo-0.24.0-x86_64-unknown-linux-musl.tar.gz"
|
||||||
checksum+="
|
checksum+="
|
||||||
28f2ee839f14f8b3edf3f4e4cc8600ac99ea50905ee8fb91116bba676728c2e9"
|
8a784a2318eea7bfd7db7d854f51dc31a25ed866757bc948babbb8edb3ba41a0"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
distfiles+="
|
distfiles+="
|
||||||
|
@ -37,7 +37,10 @@ esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mkdir -p target/snapshot
|
mkdir -p target/snapshot
|
||||||
cp ../cargo-*/cargo/bin/cargo cargo
|
case "$XBPS_MACHINE" in
|
||||||
|
x86_64-musl) cp ../cargo cargo;;
|
||||||
|
*) cp ../cargo-*/cargo/bin/cargo cargo;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
|
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue