32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# 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="Marcin Puc <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
|
|
}
|