void-packages/srcpkgs/lsd/template
classabbyamp a4a619bc98 srcpkgs: reënable tests in CI where possible
mostly failures due to root-ness
2025-03-02 00:41:44 -05:00

27 lines
797 B
Bash

# Template file for 'lsd'
pkgname=lsd
version=1.1.5
revision=2
build_style=cargo
hostmakedepends="pkg-config pandoc"
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=120935c7e98f9b64488fde39987154a6a5b2236cb65ae847917012adf5e122d1
conflicts="disputils"
export SHELL_COMPLETIONS_DIR="${wrksrc}"
post_install() {
vcompletion lsd.bash bash
vcompletion lsd.fish fish
vcompletion _lsd zsh
pandoc --standalone --to man --output lsd.1 doc/lsd.md
vman lsd.1
}