# Template file for 'lsd' pkgname=lsd version=1.1.5 revision=1 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 " 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=120935c7e98f9b64488fde39987154a6a5b2236cb65ae847917012adf5e122d1 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 }