blob: 0a05ecf06947fd37ba6805ef2c77921de1ab15fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Template file for 'eza'
pkgname=eza
version=0.18.20
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
short_desc="Modern, maintained replacement for ls"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://eza.rocks"
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
https://github.com/eza-community/eza/releases/download/v${version}/man-${version}.tar.gz"
checksum="f85a7c1a1859e4fb7913d9517bd5fd04714811562b631a71705077c5aceacd78
e376bfd7c8657cf9c8b0c1405543fed9142dd5222f1980b2c7e68309d163d23c"
skip_extraction="man-${version}.tar.gz"
post_extract() {
vsrcextract -C manpages --strip-components=3 man-${version}.tar.gz
}
post_patch() {
cargo update --package git2@0.19.0 --precise 0.18.3
}
post_install() {
vcompletion completions/bash/eza bash
vcompletion completions/fish/eza.fish fish
vcompletion completions/zsh/_eza zsh
for manpage in manpages/*; do
vman ${manpage}
done
vlicense LICENCE
ln -s eza ${DESTDIR}/usr/bin/exa
}
exa_package() {
depends="eza>=${version}_${revision}"
short_desc+=" - transitional dummy package"
pkg_install() {
vmove usr/bin/exa
}
}
|