mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +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"
|
||||
|
||||
post_extract() {
|
||||
local old_lg=b2a5e68b318f28fd7d8f9158bbdab0033f47e1ddd1beb2effe70d9c1c5d1cb31
|
||||
local new_lg=98ad678aeacd9467f15af1f03bbfa762a8ec9b5b89f9bb61220430d077ff6519
|
||||
cd ${wrksrc}
|
||||
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock .
|
||||
cargo vendor
|
||||
|
@ -27,6 +29,8 @@ post_extract() {
|
|||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
EOF
|
||||
|
||||
vsed -i "s/$old_lg/$new_lg/" vendor/libgit2-sys/.cargo-checksum.json
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue