mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
delta: update to 0.17.0
This commit is contained in:
parent
7825f81ce5
commit
429b4d4f9f
2 changed files with 16 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
diff --git a/Cargo.toml b/Cargo.toml
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
index 8c0c6d8..4fdaa9d 100644
|
index d55c68e..b80247b 100644
|
||||||
--- a/Cargo.toml
|
--- a/Cargo.toml
|
||||||
+++ b/Cargo.toml
|
+++ b/Cargo.toml
|
||||||
@@ -46,7 +46,7 @@ vte = "0.11.0"
|
@@ -57,7 +57,7 @@ clap_complete = "4.4.4"
|
||||||
xdg = "2.4.1"
|
terminal-colorsaurus = "0.3.1"
|
||||||
|
|
||||||
[dependencies.git2]
|
[dependencies.git2]
|
||||||
-version = "0.16.1"
|
-version = "0.18.2"
|
||||||
+version = "0.17"
|
+version = "0.17"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = []
|
features = []
|
|
@ -1,8 +1,11 @@
|
||||||
# Template file for 'delta'
|
# Template file for 'delta'
|
||||||
pkgname=delta
|
pkgname=delta
|
||||||
version=0.16.5
|
version=0.17.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
build_helper=qemu
|
||||||
|
# https://github.com/dandavison/delta/issues/1637
|
||||||
|
make_check_args="-- --test-threads=1"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libgit2-devel oniguruma-devel"
|
makedepends="libgit2-devel oniguruma-devel"
|
||||||
checkdepends="git"
|
checkdepends="git"
|
||||||
|
@ -11,12 +14,17 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/dandavison/delta"
|
homepage="https://github.com/dandavison/delta"
|
||||||
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=00d4740e9da4f543f34a2a0503615f8190d307d1180dfb753b6911aa6940197f
|
checksum=1abd21587bcc1f2ef0cd342784ce990da9978bc345578e45506419e0952de714
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
cargo update --package git2@0.16.1 --precise 0.17.2
|
cargo update --package git2@0.18.2 --precise 0.17.2
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
|
for _shell in bash fish zsh; do
|
||||||
|
vtargetrun ${DESTDIR}/usr/bin/delta --generate-completion ${_shell} > delta.${_shell}
|
||||||
|
vcompletion delta.${_shell} ${_shell}
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue