mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
git-absorb: rebuild for libgit2
This commit is contained in:
parent
9cbd8fbc18
commit
81456fb99c
2 changed files with 18 additions and 1 deletions
13
srcpkgs/git-absorb/patches/bump-git2.patch
Normal file
13
srcpkgs/git-absorb/patches/bump-git2.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
|
index 20a0ec5..7b86eed 100644
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -21,7 +21,7 @@ name = "git-absorb"
|
||||||
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[dependencies.git2]
|
||||||
|
-version = "~0.16"
|
||||||
|
+version = "~0.17"
|
||||||
|
default-features = false
|
||||||
|
|
||||||
|
[dependencies]
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'git-absorb'
|
# Template file for 'git-absorb'
|
||||||
pkgname=git-absorb
|
pkgname=git-absorb
|
||||||
version=0.6.10
|
version=0.6.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -13,6 +13,10 @@ homepage="https://github.com/tummychow/git-absorb"
|
||||||
distfiles="https://github.com/tummychow/git-absorb/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/tummychow/git-absorb/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=6cc58d2ae50027a212811faa065623666ccb6e8bd933e801319aaf92b164aa0a
|
checksum=6cc58d2ae50027a212811faa065623666ccb6e8bd933e801319aaf92b164aa0a
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cargo update --package git2@0.16.1 --precise 0.17.2
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
vman Documentation/git-absorb.1
|
vman Documentation/git-absorb.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue