mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: eza-0.12.0
This commit is contained in:
parent
781214ee26
commit
de57303d1c
2 changed files with 44 additions and 0 deletions
13
srcpkgs/eza/patches/downgrade-git2.patch
Normal file
13
srcpkgs/eza/patches/downgrade-git2.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
|
index e6c3e0e..39a34d0 100644
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -59,7 +59,7 @@ default-features = false
|
||||||
|
features = ["format"]
|
||||||
|
|
||||||
|
[dependencies.git2]
|
||||||
|
-version = "0.18"
|
||||||
|
+version = "0.17"
|
||||||
|
optional = true
|
||||||
|
default-features = false
|
||||||
|
|
31
srcpkgs/eza/template
Normal file
31
srcpkgs/eza/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'eza'
|
||||||
|
pkgname=eza
|
||||||
|
version=0.12.0
|
||||||
|
revision=1
|
||||||
|
build_style=cargo
|
||||||
|
hostmakedepends="pandoc pkg-config"
|
||||||
|
makedepends="libgit2-devel"
|
||||||
|
short_desc="Modern, maintained replacement for ls"
|
||||||
|
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/eza-community/eza"
|
||||||
|
changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
|
||||||
|
distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=766e754c9f4632b92e4a773ac496dee8b6b83fdc9b8ed9514750058039fc5a83
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cargo update --package git2@0.18.0 --precise 0.17.2
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vcompletion completions/bash/eza bash
|
||||||
|
vcompletion completions/fish/eza.fish fish
|
||||||
|
vcompletion completions/zsh/_eza zsh
|
||||||
|
|
||||||
|
for manpage in eza.1 eza_colors.5 eza_colors-explanation.5; do
|
||||||
|
pandoc --standalone -f markdown -t man man/${manpage}.md > ${manpage}
|
||||||
|
vman ${manpage}
|
||||||
|
done
|
||||||
|
|
||||||
|
vlicense LICENCE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue