aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/lsd/template
blob: ce89cf3c94a33c88b82cc19bec2fe714c354baaa (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
# Template file for 'lsd'
pkgname=lsd
version=1.1.2
revision=3
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
checkdepends="git"
short_desc="Next gen ls command with lots of pretty colors and awesome icons"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/lsd-rs/lsd"
changelog="https://github.com/lsd-rs/lsd/releases"
distfiles="https://github.com/lsd-rs/lsd/archive/refs/tags/v${version}.tar.gz"
checksum=cd80dae9a8f6c4c2061f79084468ea6e04c372e932e3712a165119417960e14e
conflicts="disputils"

# The 'cannot_access_subdir_exit_status' fails on CI
# because the runner seems to allow setting the b dir in a/b/c to readonly (0400)
# and then navigating this structure recursively (like in `tree`)
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
	make_check_args="-- --skip test_cannot_access_subdir_exit_status"
fi

export SHELL_COMPLETIONS_DIR="${wrksrc}"

post_install() {
	vcompletion lsd.bash bash
	vcompletion lsd.fish fish
	vcompletion _lsd zsh
}