mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cargo-c: fix libgit2 build.rs checksum
This commit is contained in:
parent
cc3ab7b06c
commit
ad127539ec
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,8 @@ checksum="6af542e3d76e4341693b2e9a9f50abf15b04d82c5f9d1b350110cfac7e914e73
|
||||||
skip_extraction="Cargo.lock"
|
skip_extraction="Cargo.lock"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
local old_lg=b2a5e68b318f28fd7d8f9158bbdab0033f47e1ddd1beb2effe70d9c1c5d1cb31
|
||||||
|
local new_lg=98ad678aeacd9467f15af1f03bbfa762a8ec9b5b89f9bb61220430d077ff6519
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock .
|
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock .
|
||||||
cargo vendor
|
cargo vendor
|
||||||
|
@ -27,6 +29,8 @@ post_extract() {
|
||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = "vendor"
|
directory = "vendor"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
vsed -i "s/$old_lg/$new_lg/" vendor/libgit2-sys/.cargo-checksum.json
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue